GET api/ProductTypes?ModifiedSince={ModifiedSince}&Lang2={Lang2}
Request a list of ProductType
The results can be a filtered result set based on the parameters
With the information retrieved you can make a call for the images: https://atrlayer.transmissies.nl/api/Images/List?Group={PictureGroup}&ID={ProductTypeID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| ModifiedSince |
Only list results that are newer or modified since this DateTime |
date |
None. |
| Lang2 |
The language in which the product types need to be, |
string |
Default value is EN |
Body Parameters
None.
Response Information
Resource Description
A List of ProductType
Collection of ProductType| Name | Description | Type | Additional information |
|---|---|---|---|
| ProductTypeID |
Unique ID for the ProductType |
integer |
None. |
| Description |
Name / description |
string |
None. |
| DescriptionLong |
The long description of this ProductType |
string |
None. |
| PictureGroup |
The name of the picture group related to the product type |
string |
None. |
| SortOrder |
When this class used within a list, SortOrder defines the position in the list. |
integer |
None. |
Response Formats
application/json, text/json
[
{
"ProductTypeID": 1,
"Description": "sample string 2",
"DescriptionLong": "sample string 3",
"PictureGroup": "sample string 4",
"SortOrder": 5
},
{
"ProductTypeID": 1,
"Description": "sample string 2",
"DescriptionLong": "sample string 3",
"PictureGroup": "sample string 4",
"SortOrder": 5
}
]
application/xml, text/xml
<ArrayOfProductType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ATRonicLayer.BO">
<ProductType>
<Description>sample string 2</Description>
<DescriptionLong>sample string 3</DescriptionLong>
<PictureGroup>sample string 4</PictureGroup>
<ProductTypeID>1</ProductTypeID>
<SortOrder>5</SortOrder>
</ProductType>
<ProductType>
<Description>sample string 2</Description>
<DescriptionLong>sample string 3</DescriptionLong>
<PictureGroup>sample string 4</PictureGroup>
<ProductTypeID>1</ProductTypeID>
<SortOrder>5</SortOrder>
</ProductType>
</ArrayOfProductType>