GET v1/producers

Retrieve all Producers.

Request Information

Parameters

NameDescriptionAdditional information
location Filter Producers by Location ID.

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "producers": [
    {
      "active": true,
      "address": "sample string 2",
      "contact": "sample string 3",
      "email": "sample string 4",
      "id": 5,
      "location": 6,
      "notes": "sample string 7",
      "phoneOne": "sample string 8",
      "phoneTwo": "sample string 9",
      "name": "sample string 10",
      "website": "sample string 11"
    },
    {
      "active": true,
      "address": "sample string 2",
      "contact": "sample string 3",
      "email": "sample string 4",
      "id": 5,
      "location": 6,
      "notes": "sample string 7",
      "phoneOne": "sample string 8",
      "phoneTwo": "sample string 9",
      "name": "sample string 10",
      "website": "sample string 11"
    },
    {
      "active": true,
      "address": "sample string 2",
      "contact": "sample string 3",
      "email": "sample string 4",
      "id": 5,
      "location": 6,
      "notes": "sample string 7",
      "phoneOne": "sample string 8",
      "phoneTwo": "sample string 9",
      "name": "sample string 10",
      "website": "sample string 11"
    }
  ]
}

application/xml, text/xml

Sample:
<Resources xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CablecastAPI.DTOs">
  <Producers>
    <Producer>
      <Active>true</Active>
      <Address>sample string 2</Address>
      <Contact>sample string 3</Contact>
      <Email>sample string 4</Email>
      <Id>5</Id>
      <Location>6</Location>
      <Name>sample string 10</Name>
      <Notes>sample string 7</Notes>
      <PhoneOne>sample string 8</PhoneOne>
      <PhoneTwo>sample string 9</PhoneTwo>
      <Website>sample string 11</Website>
    </Producer>
    <Producer>
      <Active>true</Active>
      <Address>sample string 2</Address>
      <Contact>sample string 3</Contact>
      <Email>sample string 4</Email>
      <Id>5</Id>
      <Location>6</Location>
      <Name>sample string 10</Name>
      <Notes>sample string 7</Notes>
      <PhoneOne>sample string 8</PhoneOne>
      <PhoneTwo>sample string 9</PhoneTwo>
      <Website>sample string 11</Website>
    </Producer>
    <Producer>
      <Active>true</Active>
      <Address>sample string 2</Address>
      <Contact>sample string 3</Contact>
      <Email>sample string 4</Email>
      <Id>5</Id>
      <Location>6</Location>
      <Name>sample string 10</Name>
      <Notes>sample string 7</Notes>
      <PhoneOne>sample string 8</PhoneOne>
      <PhoneTwo>sample string 9</PhoneTwo>
      <Website>sample string 11</Website>
    </Producer>
  </Producers>
</Resources>