GET api/Product
Returns product catalog, including productIDs and information of the different products that can be ordered.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
GetProductsReturnModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Name | string |
None. |
|
| Description | string |
None. |
|
| Price | decimal number |
None. |
|
| Width | integer |
None. |
|
| Height | integer |
None. |
|
| IgnoreRotation | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"ID": 1,
"Name": "sample string 2",
"Description": "sample string 3",
"Price": 1.1,
"Width": 1,
"Height": 1,
"IgnoreRotation": true
}
application/xml, text/xml
Sample:
<GetProductsReturnModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ID>1</ID> <Name>sample string 2</Name> <Description>sample string 3</Description> <Price>1.1</Price> <Width>1</Width> <Height>1</Height> <IgnoreRotation>true</IgnoreRotation> </GetProductsReturnModel>