POST api/categories/publish
Request Information
URI Parameters
None.
Body Parameters
OnlineCategoryDto| Name | Description | Type | Additional information |
|---|---|---|---|
| KopaID | string |
None. |
|
| LocalCategoryID | string |
None. |
|
| ParentCategoryID | string |
None. |
|
| CategoryName | string |
None. |
|
| SortOrder | integer |
None. |
|
| Description | string |
None. |
|
| ImageUrl | string |
None. |
|
| Available | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"KopaID": "sample string 1",
"LocalCategoryID": "sample string 2",
"ParentCategoryID": "sample string 3",
"CategoryName": "sample string 4",
"SortOrder": 5,
"Description": "sample string 6",
"ImageUrl": "sample string 7",
"Available": true
}
application/xml, text/xml
Sample:
<OnlineCategoryDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/"> <Available>true</Available> <CategoryName>sample string 4</CategoryName> <Description>sample string 6</Description> <ImageUrl>sample string 7</ImageUrl> <KopaID>sample string 1</KopaID> <LocalCategoryID>sample string 2</LocalCategoryID> <ParentCategoryID>sample string 3</ParentCategoryID> <SortOrder>5</SortOrder> </OnlineCategoryDto>
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.