POST api/Categories
Request Information
URI Parameters
None.
Body Parameters
CategoryName | Description | Type | Additional information |
---|---|---|---|
CategoryId | integer |
None. |
|
CategoryName | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "CategoryId": 1, "CategoryName": "sample string 2" }
application/xml, text/xml
Sample:
<Category xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SignifierManager.Models"> <CategoryId>1</CategoryId> <CategoryName>sample string 2</CategoryName> </Category>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
CategoryName | Description | Type | Additional information |
---|---|---|---|
CategoryId | integer |
None. |
|
CategoryName | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "CategoryId": 1, "CategoryName": "sample string 2" }
application/xml, text/xml
Sample:
<Category xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SignifierManager.Models"> <CategoryId>1</CategoryId> <CategoryName>sample string 2</CategoryName> </Category>