POST api/admin/ProductsApi/SaveGeneralCategory
Request Information
URI Parameters
None.
Body Parameters
UpdateProductGeneralCategoryModelName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
ProductID | integer |
Range: inclusive between 1 and 2147483647 |
|
CategoryID | integer |
Range: inclusive between 1 and 2147483647 |
|
IsEnabled | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "ID": 1, "ProductID": 2, "CategoryID": 3, "IsEnabled": true }
application/xml, text/xml
Sample:
<UpdateProductGeneralCategoryModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BAWModels.PostModel"> <CategoryID>3</CategoryID> <ID>1</ID> <IsEnabled>true</IsEnabled> <ProductID>2</ProductID> </UpdateProductGeneralCategoryModel>
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.