GET api/ProductTypes?ProductTypeID={ProductTypeID}&Lang2={Lang2}
Request a single ProductType
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| ProductTypeID |
The ProductTypeID of the ProductType |
integer |
Required |
| Lang2 |
The language in which the product type need to be, |
string |
Default value is EN |
Body Parameters
None.
Response Information
Resource Description
A single ProductType
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
Sample:
{
"ProductTypeID": 1,
"Description": "sample string 2",
"DescriptionLong": "sample string 3",
"PictureGroup": "sample string 4",
"SortOrder": 5
}
application/xml, text/xml
Sample:
<ProductType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ATRonicLayer.BO"> <Description>sample string 2</Description> <DescriptionLong>sample string 3</DescriptionLong> <PictureGroup>sample string 4</PictureGroup> <ProductTypeID>1</ProductTypeID> <SortOrder>5</SortOrder> </ProductType>