GET api/Policy/ProductTypes
API URL: https://api.alpsltd.co.uk/api/Policy/ProductTypes
Get list of available product types
Request Information
Authorisation Type
Basic Auth
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of ProductType| Name | Description | Type | Additional information |
|---|---|---|---|
| TypeID |
The product type ID |
integer | |
| Description |
Description of product type |
string |
Response Formats
application/json, text/json
Sample:
[
{
"TypeID": 1,
"Description": "sample string 2"
},
{
"TypeID": 1,
"Description": "sample string 2"
}
]
application/xml, text/xml
Sample:
<ArrayOfProductType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models">
<ProductType>
<Description>sample string 2</Description>
<TypeID>1</TypeID>
</ProductType>
<ProductType>
<Description>sample string 2</Description>
<TypeID>1</TypeID>
</ProductType>
</ArrayOfProductType>