POST api/products/sub_categories
Request Information
URI Parameters
None.
Body Parameters
ProductSubCategoryRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| parentId | integer |
None. |
|
| count | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"parentId": 1,
"count": 2
}
text/xml
Sample:
<ProductSubCategoryRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/pcone_api.Models.RequestModels"> <count>2</count> <parentId>1</parentId> </ProductSubCategoryRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/xml
Sample:
Sample not available.