PUT v1/producers/{id}

This method requires authentication.

Update an existing Producer.

Request Information

Parameters

NameDescriptionAdditional information
id ID of Producer.

Define this parameter in the request URI.

resource Producer resource.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "producer": {
    "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">
  <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>
</Resources>