GET api/Category/{id}
Get a Category.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Category id. ex) 12 |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Category
CategoryName | Description | Type | Additional information |
---|---|---|---|
Code | integer |
None. |
|
Name | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "code": 1, "name": "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/ISOWebAPI.Models"> <Code>1</Code> <Name>sample string 2</Name> </Category>