POST api/Items/ManageNewItemsCategory
Request Information
URI Parameters
None.
Body Parameters
ManageNewItemsCategoryRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| CatalogID | integer |
None. |
|
| CategoryID | integer |
None. |
|
| MonthsBack | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"CatalogID": 1,
"CategoryID": 2,
"MonthsBack": 3
}
text/xml
Sample:
<ManageNewItemsCategoryRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MoodAPI.Models"> <CatalogID>1</CatalogID> <CategoryID>2</CategoryID> <MonthsBack>3</MonthsBack> </ManageNewItemsCategoryRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ManageNewItemsCategoryResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Message | string |
None. |
|
| Added | integer |
None. |
|
| Removed | integer |
None. |
|
| Total | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Message": "sample string 2",
"Added": 3,
"Removed": 4,
"Total": 5
}
text/xml
Sample:
<ManageNewItemsCategoryResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MoodAPI.Models"> <Added>3</Added> <Message>sample string 2</Message> <Removed>4</Removed> <Success>true</Success> <Total>5</Total> </ManageNewItemsCategoryResult>