POST updateMainCategory
Request Information
URI Parameters
None.
Body Parameters
CategoryModel| Name | Description | Type | Additional information |
|---|---|---|---|
| CategoryId | integer |
None. |
|
| CategoryUid | globally unique identifier |
None. |
|
| MainCategoryId | integer |
None. |
|
| CategoryName | string |
None. |
|
| CategoryImage | string |
None. |
|
| ProductCount | integer |
None. |
|
| ParentId | integer |
None. |
|
| Checked | boolean |
None. |
|
| IsProduct | integer |
None. |
|
| UserId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"CategoryId": 1,
"CategoryUid": "c0438fff-b68d-4a2a-9215-ec313c16e6ec",
"MainCategoryId": 3,
"CategoryName": "sample string 4",
"CategoryImage": "sample string 5",
"ProductCount": 6,
"ParentId": 7,
"Checked": true,
"IsProduct": 9,
"UserId": "9e2bc2ee-1545-4f51-adfe-cd44e484e64d"
}
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 5</CategoryImage> <CategoryName>sample string 4</CategoryName> <CategoryUid>c0438fff-b68d-4a2a-9215-ec313c16e6ec</CategoryUid> <Checked>true</Checked> <IsProduct>9</IsProduct> <MainCategoryId>3</MainCategoryId> <ParentId>7</ParentId> <ProductCount>6</ProductCount> <UserId>9e2bc2ee-1545-4f51-adfe-cd44e484e64d</UserId> </CategoryModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | 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. |