POST api/categories/manage
Request Information
URI Parameters
None.
Body Parameters
Category| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Description | string |
None. |
|
| CategoryType | CategoryTypes |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Description": "sample string 2",
"CategoryType": 1
}
application/xml, text/xml
Sample:
<Category xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Atlantis.Library.Web.Models"> <CategoryType>Cat_Product</CategoryType> <Description>sample string 2</Description> <Id>1</Id> </Category>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Category| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Description | string |
None. |
|
| CategoryType | CategoryTypes |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"Description": "sample string 2",
"CategoryType": 1
}
application/xml, text/xml
Sample:
<Category xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Atlantis.Library.Web.Models"> <CategoryType>Cat_Product</CategoryType> <Description>sample string 2</Description> <Id>1</Id> </Category>