POST v1/vods

Request Information

URI Parameters

None.

Body Parameters

VodResource
NameDescriptionTypeAdditional information
Vod

VodDto

None.

Request Formats

application/json, text/json

Sample:
{
  "vod": {
    "id": 1,
    "quality": 1,
    "disabled": true,
    "fileName": "sample string 3",
    "length": 1,
    "embedCode": "sample string 4",
    "nonReflectEmbedCode": "sample string 5",
    "url": "sample string 6",
    "webVtt": "sample string 7",
    "localUrl": "sample string 8",
    "show": 9,
    "stateChange": "2025-05-23T17:12:01.7462877-04:00",
    "stateProgress": 10.1,
    "vodConfiguration": 1,
    "chapters": [
      1,
      2
    ],
    "chaptersPublished": true,
    "chapteringSession": 1,
    "lastTransaction": 1,
    "views": 12,
    "transactionType": 14,
    "percentComplete": 15.1,
    "isOnCloud": true,
    "vodState": "unknown",
    "errorMessage": "sample string 17",
    "statusMessage": "sample string 18",
    "asset": 1,
    "isWatchable": true,
    "usesAgendaLink": true,
    "vodStatus": 1,
    "secondaryAudioProgramming": 22,
    "primaryAudioLabel": "sample string 23",
    "primaryAudioLangCode": "sample string 24",
    "secondaryAudioLabel": "sample string 25",
    "secondaryAudioLangCode": "sample string 26"
  }
}

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>
    <Asset>1</Asset>
    <ChapteringSession>1</ChapteringSession>
    <Chapters xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>1</d3p1:int>
      <d3p1:int>2</d3p1:int>
    </Chapters>
    <ChaptersPublished>true</ChaptersPublished>
    <Disabled>true</Disabled>
    <EmbedCode>sample string 4</EmbedCode>
    <ErrorMessage>sample string 17</ErrorMessage>
    <FileName>sample string 3</FileName>
    <Id>1</Id>
    <IsOnCloud>true</IsOnCloud>
    <IsWatchable>true</IsWatchable>
    <LastTransaction>1</LastTransaction>
    <Length>1</Length>
    <LocalUrl>sample string 8</LocalUrl>
    <NonReflectEmbedCode>sample string 5</NonReflectEmbedCode>
    <PercentComplete>15.1</PercentComplete>
    <PrimaryAudioLabel>sample string 23</PrimaryAudioLabel>
    <PrimaryAudioLangCode>sample string 24</PrimaryAudioLangCode>
    <Quality>1</Quality>
    <SecondaryAudioLabel>sample string 25</SecondaryAudioLabel>
    <SecondaryAudioLangCode>sample string 26</SecondaryAudioLangCode>
    <SecondaryAudioProgramming>22</SecondaryAudioProgramming>
    <Show>9</Show>
    <StateChange>2025-05-23T17:12:01.7462877-04:00</StateChange>
    <StateProgress>10.1</StateProgress>
    <StatusMessage>sample string 18</StatusMessage>
    <TransactionType>14</TransactionType>
    <Url>sample string 6</Url>
    <UsesAgendaLink>true</UsesAgendaLink>
    <Views>12</Views>
    <VodConfiguration>1</VodConfiguration>
    <VodState>Unknown</VodState>
    <VodStatus>1</VodStatus>
    <WebVtt>sample string 7</WebVtt>
  </Vod>
</Result>

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.