PUT v1/manualevents/batch

This method requires authentication.

Updates a collection of manual events.

Request Information

Parameters

NameDescriptionAdditional information
resource

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "manualEvents": [
    {
      "id": 1,
      "location": 2,
      "name": "sample string 3",
      "length": 4,
      "device": 1,
      "deviceAction": 5,
      "deviceSlot": 6,
      "deviceTitle": 7,
      "deviceChapter": 8,
      "deviceCue": 9,
      "deviceFileKey": "sample string 10"
    },
    {
      "id": 1,
      "location": 2,
      "name": "sample string 3",
      "length": 4,
      "device": 1,
      "deviceAction": 5,
      "deviceSlot": 6,
      "deviceTitle": 7,
      "deviceChapter": 8,
      "deviceCue": 9,
      "deviceFileKey": "sample string 10"
    },
    {
      "id": 1,
      "location": 2,
      "name": "sample string 3",
      "length": 4,
      "device": 1,
      "deviceAction": 5,
      "deviceSlot": 6,
      "deviceTitle": 7,
      "deviceChapter": 8,
      "deviceCue": 9,
      "deviceFileKey": "sample string 10"
    }
  ]
}

application/xml, text/xml

Sample:
<Resources xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CablecastAPI.DTOs">
  <ManualEvents>
    <ManualEventDto>
      <Device>1</Device>
      <DeviceAction>5</DeviceAction>
      <DeviceChapter>8</DeviceChapter>
      <DeviceCue>9</DeviceCue>
      <DeviceFileKey>sample string 10</DeviceFileKey>
      <DeviceSlot>6</DeviceSlot>
      <DeviceTitle>7</DeviceTitle>
      <Id>1</Id>
      <Length>4</Length>
      <Location>2</Location>
      <Name>sample string 3</Name>
    </ManualEventDto>
    <ManualEventDto>
      <Device>1</Device>
      <DeviceAction>5</DeviceAction>
      <DeviceChapter>8</DeviceChapter>
      <DeviceCue>9</DeviceCue>
      <DeviceFileKey>sample string 10</DeviceFileKey>
      <DeviceSlot>6</DeviceSlot>
      <DeviceTitle>7</DeviceTitle>
      <Id>1</Id>
      <Length>4</Length>
      <Location>2</Location>
      <Name>sample string 3</Name>
    </ManualEventDto>
    <ManualEventDto>
      <Device>1</Device>
      <DeviceAction>5</DeviceAction>
      <DeviceChapter>8</DeviceChapter>
      <DeviceCue>9</DeviceCue>
      <DeviceFileKey>sample string 10</DeviceFileKey>
      <DeviceSlot>6</DeviceSlot>
      <DeviceTitle>7</DeviceTitle>
      <Id>1</Id>
      <Length>4</Length>
      <Location>2</Location>
      <Name>sample string 3</Name>
    </ManualEventDto>
  </ManualEvents>
</Resources>

Response Information

Response body formats

application/json, text/json

Sample:
{
  "manualEvents": [
    {
      "id": 1,
      "location": 2,
      "name": "sample string 3",
      "length": 4,
      "device": 1,
      "deviceAction": 5,
      "deviceSlot": 6,
      "deviceTitle": 7,
      "deviceChapter": 8,
      "deviceCue": 9,
      "deviceFileKey": "sample string 10"
    },
    {
      "id": 1,
      "location": 2,
      "name": "sample string 3",
      "length": 4,
      "device": 1,
      "deviceAction": 5,
      "deviceSlot": 6,
      "deviceTitle": 7,
      "deviceChapter": 8,
      "deviceCue": 9,
      "deviceFileKey": "sample string 10"
    },
    {
      "id": 1,
      "location": 2,
      "name": "sample string 3",
      "length": 4,
      "device": 1,
      "deviceAction": 5,
      "deviceSlot": 6,
      "deviceTitle": 7,
      "deviceChapter": 8,
      "deviceCue": 9,
      "deviceFileKey": "sample string 10"
    }
  ]
}

application/xml, text/xml

Sample:
<Resources xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CablecastAPI.DTOs">
  <ManualEvents>
    <ManualEventDto>
      <Device>1</Device>
      <DeviceAction>5</DeviceAction>
      <DeviceChapter>8</DeviceChapter>
      <DeviceCue>9</DeviceCue>
      <DeviceFileKey>sample string 10</DeviceFileKey>
      <DeviceSlot>6</DeviceSlot>
      <DeviceTitle>7</DeviceTitle>
      <Id>1</Id>
      <Length>4</Length>
      <Location>2</Location>
      <Name>sample string 3</Name>
    </ManualEventDto>
    <ManualEventDto>
      <Device>1</Device>
      <DeviceAction>5</DeviceAction>
      <DeviceChapter>8</DeviceChapter>
      <DeviceCue>9</DeviceCue>
      <DeviceFileKey>sample string 10</DeviceFileKey>
      <DeviceSlot>6</DeviceSlot>
      <DeviceTitle>7</DeviceTitle>
      <Id>1</Id>
      <Length>4</Length>
      <Location>2</Location>
      <Name>sample string 3</Name>
    </ManualEventDto>
    <ManualEventDto>
      <Device>1</Device>
      <DeviceAction>5</DeviceAction>
      <DeviceChapter>8</DeviceChapter>
      <DeviceCue>9</DeviceCue>
      <DeviceFileKey>sample string 10</DeviceFileKey>
      <DeviceSlot>6</DeviceSlot>
      <DeviceTitle>7</DeviceTitle>
      <Id>1</Id>
      <Length>4</Length>
      <Location>2</Location>
      <Name>sample string 3</Name>
    </ManualEventDto>
  </ManualEvents>
</Resources>