GET v1/formats

Retrieve all Formats.

Request Information

Parameters

NameDescriptionAdditional information
location Filter by a specific Location.

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "formats": [
    {
      "primitiveFormat": 1,
      "name": "sample string 2",
      "location": 3,
      "id": 4
    },
    {
      "primitiveFormat": 1,
      "name": "sample string 2",
      "location": 3,
      "id": 4
    },
    {
      "primitiveFormat": 1,
      "name": "sample string 2",
      "location": 3,
      "id": 4
    }
  ]
}

application/xml, text/xml

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