GET api/BikeShop/categoriesSub/{categoryId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| categoryId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of CategorySubDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| ProductCategoryID | integer |
None. |
|
| Name | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"ProductCategoryID": 2,
"Name": "sample string 3"
},
{
"Id": 1,
"ProductCategoryID": 2,
"Name": "sample string 3"
}
]
application/xml, text/xml
Sample:
<ArrayOfCategorySubDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BikeShopAPI48.DTO">
<CategorySubDTO>
<Id>1</Id>
<Name>sample string 3</Name>
<ProductCategoryID>2</ProductCategoryID>
</CategorySubDTO>
<CategorySubDTO>
<Id>1</Id>
<Name>sample string 3</Name>
<ProductCategoryID>2</ProductCategoryID>
</CategorySubDTO>
</ArrayOfCategorySubDTO>