GET api/categories/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
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>