POST updateMainCategory
Request Information
URI Parameters
None.
Body Parameters
CategoryModelName | Description | Type | Additional information |
---|---|---|---|
CategoryId | integer |
None. |
|
CategoryUid | string |
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": "sample string 2", "MainCategoryId": 3, "CategoryName": "sample string 4", "CategoryImage": "sample string 5", "ProductCount": 6, "ParentId": 7, "Checked": true, "IsProduct": 9, "UserId": "1536991a-e413-42f6-a0a2-9733679740a6" }
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>sample string 2</CategoryUid> <Checked>true</Checked> <IsProduct>9</IsProduct> <MainCategoryId>3</MainCategoryId> <ParentId>7</ParentId> <ProductCount>6</ProductCount> <UserId>1536991a-e413-42f6-a0a2-9733679740a6</UserId> </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. |