POST saveMainCategory
Request Information
URI Parameters
None.
Body Parameters
CategoryModelName | Description | Type | Additional information |
---|---|---|---|
CategoryId | integer |
None. |
|
MainCategoryId | integer |
None. |
|
CategoryName | string |
None. |
|
CategoryImage | string |
None. |
|
ProductCount | integer |
None. |
|
ParentId | integer |
None. |
|
Checked | boolean |
None. |
|
IsProduct | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "CategoryId": 1, "MainCategoryId": 2, "CategoryName": "sample string 3", "CategoryImage": "sample string 4", "ProductCount": 5, "ParentId": 6, "Checked": true, "IsProduct": 8 }
application/xml, text/xml
Sample:
<CategoryModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AbbApi.Models"> <CategoryId>1</CategoryId> <CategoryImage>sample string 4</CategoryImage> <CategoryName>sample string 3</CategoryName> <Checked>true</Checked> <IsProduct>8</IsProduct> <MainCategoryId>2</MainCategoryId> <ParentId>6</ParentId> <ProductCount>5</ProductCount> </CategoryModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |