POST api/admin/CategoryApi/UpdateProductSubCategory
Request Information
URI Parameters
None.
Body Parameters
UpdateProductSubCategories| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| ProductIdOld | integer |
None. |
|
| SubCategoryIdOld | integer |
None. |
|
| ProductIdNew | integer |
None. |
|
| SubCategoryIdNew | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"ProductIdOld": 2,
"SubCategoryIdOld": 3,
"ProductIdNew": 4,
"SubCategoryIdNew": 5
}
application/xml, text/xml
Sample:
<UpdateProductSubCategories xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BAWModels.PostModel.Category"> <Id>1</Id> <ProductIdNew>4</ProductIdNew> <ProductIdOld>2</ProductIdOld> <SubCategoryIdNew>5</SubCategoryIdNew> <SubCategoryIdOld>3</SubCategoryIdOld> </UpdateProductSubCategories>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.