GET v1/categories/{id}

Retrieves a single Category by ID.

Request Information

Parameters

NameDescriptionAdditional information
id ID of Category

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "category": {
    "id": 1,
    "location": 2,
    "name": "sample string 3"
  }
}

application/xml, text/xml

Sample:
<Resources xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CablecastAPI.DTOs">
  <Category>
    <Id>1</Id>
    <Location>2</Location>
    <Name>sample string 3</Name>
  </Category>
</Resources>