GET api/v100/AdvancedTypes?CustomerId={CustomerId}
Devuelve todos los tipos disponibles para el identificador de cliente suministrado.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
CustomerId |
Identificador único del cliente. |
integer |
Required |
Response Information
Resource Description
Los tipos son devueltos con una estructura detallada incluidos los atributos personalizables.
Collection of InputCredentialTypeName | Description | Type | Additional information |
---|---|---|---|
Attributes | Dictionary of "Tipo" + Object [key] and "Tipo" + Object [value] | ||
TypeId | integer | ||
ConfId | integer | ||
Name | string | ||
Description | string | ||
Price | decimal number | ||
Discount | decimal number | ||
IdIVA | integer | ||
PVP | decimal number | ||
PerfilId | integer |
Response Formats
application/json, text/json
Sample:
[ { "Attributes": null, "TypeId": 1, "ConfId": 2, "Name": "sample string 3", "Description": "sample string 4", "Price": 1.1, "Discount": 1.0, "IdIVA": 5, "PVP": 1.1, "PerfilId": 6 }, { "Attributes": null, "TypeId": 1, "ConfId": 2, "Name": "sample string 3", "Description": "sample string 4", "Price": 1.1, "Discount": 1.0, "IdIVA": 5, "PVP": 1.1, "PerfilId": 6 } ]
application/xml, text/xml
Sample:
<ArrayOfInputCredentialType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ibertic.Iradius.CredentialsGeneration"> <InputCredentialType> <ConfId>2</ConfId> <Description>sample string 4</Description> <Discount>1</Discount> <IdIVA>5</IdIVA> <Name>sample string 3</Name> <PVP>1.1</PVP> <PerfilId>6</PerfilId> <Price>1.1</Price> <TypeId>1</TypeId> <Attributes i:nil="true" /> </InputCredentialType> <InputCredentialType> <ConfId>2</ConfId> <Description>sample string 4</Description> <Discount>1</Discount> <IdIVA>5</IdIVA> <Name>sample string 3</Name> <PVP>1.1</PVP> <PerfilId>6</PerfilId> <Price>1.1</Price> <TypeId>1</TypeId> <Attributes i:nil="true" /> </InputCredentialType> </ArrayOfInputCredentialType>