PUT v1/chapters/{id}

This method requires authentication.

Update an existing Chapter.

Request Information

Parameters

NameDescriptionAdditional information
id ID of Chapter to update.

Define this parameter in the request URI.

resource Chapter resource.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "chapter": {
    "id": 1,
    "vod": 2,
    "title": "sample string 3",
    "body": "sample string 4",
    "offset": 5,
    "deleted": true
  }
}

application/xml, text/xml

Sample:
<Resources xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CablecastAPI.DTOs">
  <Chapter>
    <Body>sample string 4</Body>
    <Deleted>true</Deleted>
    <Id>1</Id>
    <Offset>5</Offset>
    <Title>sample string 3</Title>
    <Vod>2</Vod>
  </Chapter>
</Resources>