GET v1/locations/{id}

Retrieve a specific Location by ID.

Request Information

Parameters

NameDescriptionAdditional information
id The ID of the Location to retrieve

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "location": {
    "id": 1,
    "name": "sample string 2",
    "vodConfigurations": [
      1,
      2,
      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">
  <Location>
    <Id>1</Id>
    <Name>sample string 2</Name>
    <VodConfigurations xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>1</d3p1:int>
      <d3p1:int>2</d3p1:int>
      <d3p1:int>3</d3p1:int>
    </VodConfigurations>
  </Location>
</Resources>