GET api/CompanyCategory/{id}
Fast method to get category by id.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ApiCategory| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| name | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"id": 1,
"name": "sample string 2"
}
application/xml, text/xml
Sample:
<ApiCategory xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <id>1</id> <name>sample string 2</name> </ApiCategory>