POST saveMainCategory
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": "295debe7-32fd-43fe-b86d-c6c7cd304ece",
"MainCategoryId": 3,
"CategoryName": "sample string 4",
"CategoryImage": "sample string 5",
"ProductCount": 6,
"ParentId": 7,
"Checked": true,
"IsProduct": 9,
"UserId": "3dfb8a26-ffe7-40e0-ba87-173884b31818"
}
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>295debe7-32fd-43fe-b86d-c6c7cd304ece</CategoryUid> <Checked>true</Checked> <IsProduct>9</IsProduct> <MainCategoryId>3</MainCategoryId> <ParentId>7</ParentId> <ProductCount>6</ProductCount> <UserId>3dfb8a26-ffe7-40e0-ba87-173884b31818</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. |