PUT v1/vods/{id}

This method requires authentication.

Update an existing VOD.

Request Information

Parameters

NameDescriptionAdditional information
id ID of VOD to retrieve.

Define this parameter in the request URI.

resource VOD resource.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "vod": {
    "id": 1,
    "quality": 1,
    "disabled": true,
    "fileName": "sample string 3",
    "embedCode": "sample string 4",
    "nonReflectEmbedCode": "sample string 5",
    "url": "sample string 6",
    "webVtt": "sample string 7",
    "localUrl": "sample string 8",
    "show": 9,
    "transactions": [
      1,
      2,
      3
    ],
    "stateChange": "2017-03-30T07:37:40.1397065-05:00",
    "stateProgress": 10.1,
    "vodConfiguration": 1,
    "chapters": [
      1,
      2,
      3
    ],
    "lastTransaction": 1
  }
}

application/xml, text/xml

Sample:
<Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CablecastAPI.DTOs">
  <Vod>
    <Chapters 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>
    </Chapters>
    <Disabled>true</Disabled>
    <EmbedCode>sample string 4</EmbedCode>
    <FileName>sample string 3</FileName>
    <Id>1</Id>
    <LastTransaction>1</LastTransaction>
    <LocalUrl>sample string 8</LocalUrl>
    <NonReflectEmbedCode>sample string 5</NonReflectEmbedCode>
    <Quality>1</Quality>
    <Show>9</Show>
    <StateChange>2017-03-30T07:37:40.1397065-05:00</StateChange>
    <StateProgress>10.1</StateProgress>
    <Transactions 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>
    </Transactions>
    <Url>sample string 6</Url>
    <VodConfiguration>1</VodConfiguration>
    <WebVtt>sample string 7</WebVtt>
  </Vod>
</Result>