GET api/ProductCategories
Gets all Product Categories.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
A list of product categories and Details
Collection of ProductCategory| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
The unique identifier of the Product Category. |
integer |
None. |
| CategoryName |
The name of the product Category. |
string |
None. |
| ImageURL |
The Image of the product Category. |
string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"CategoryName": "sample string 2",
"ImageURL": "sample string 3"
},
{
"Id": 1,
"CategoryName": "sample string 2",
"ImageURL": "sample string 3"
}
]
application/xml, text/xml
Sample:
<ArrayOfProductCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OTJServices.Models">
<ProductCategory>
<CategoryName>sample string 2</CategoryName>
<Id>1</Id>
<ImageURL>sample string 3</ImageURL>
</ProductCategory>
<ProductCategory>
<CategoryName>sample string 2</CategoryName>
<Id>1</Id>
<ImageURL>sample string 3</ImageURL>
</ProductCategory>
</ArrayOfProductCategory>