GET v1/locations

Retrieve all Locations.

Response Information

Response body formats

application/json, text/json

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