POST v1/scheduleitems

This method requires authentication.

Create a new ScheduleItem.

Request Information

Parameters

NameDescriptionAdditional information
resource

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "scheduleItem": {
    "id": 1,
    "channel": 2,
    "show": 1,
    "runDateTime": "2017-03-30T07:36:16.6323589-05:00",
    "runBump": 3,
    "runLock": true,
    "runType": 5,
    "bugText": "sample string 6",
    "crawlText": "sample string 7",
    "crawlLength": 8,
    "cgExempt": true,
    "idType": 10,
    "manualEvent": 1,
    "runStatus": 11,
    "deleted": true,
    "recordEvents": [
      1,
      2,
      3
    ]
  }
}

application/xml, text/xml

Sample:
<Resources xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CablecastAPI.DTOs">
  <ScheduleItem>
    <BugText>sample string 6</BugText>
    <CgExempt>true</CgExempt>
    <Channel>2</Channel>
    <CrawlLength>8</CrawlLength>
    <CrawlText>sample string 7</CrawlText>
    <Deleted>true</Deleted>
    <Id>1</Id>
    <IdType>10</IdType>
    <ManualEvent>1</ManualEvent>
    <RecordEvents 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>
    </RecordEvents>
    <RunBump>3</RunBump>
    <RunDateTime>2017-03-30T07:36:16.6323589-05:00</RunDateTime>
    <RunLock>true</RunLock>
    <RunStatus>11</RunStatus>
    <RunType>5</RunType>
    <Show>1</Show>
  </ScheduleItem>
</Resources>