PUT v1/recordevents/{id}

This method requires authentication.

Update an existing RecordEvent.

Request Information

Parameters

NameDescriptionAdditional information
id

Define this parameter in the request URI.

resource

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "recordEvent": {
    "id": 1,
    "location": 1,
    "name": "sample string 2",
    "runDateTime": "2017-04-24T06:25:55.1386655-05:00",
    "length": 1,
    "media": 1,
    "playDevice": 1,
    "playDeviceSlot": 1,
    "playDeviceTitle": 1,
    "playDeviceChapter": 1,
    "playDeviceCue": 1,
    "playDeviceFileKey": "sample string 4",
    "recordDevice": 1,
    "recordDeviceSlot": 1,
    "recordDeviceTitle": 1,
    "recordDeviceChapter": 1,
    "recordDeviceCue": 1,
    "recordDeviceFileKey": "sample string 5",
    "scheduleItem": 1,
    "runStatus": 1,
    "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">
  <RecordEvent>
    <Deleted>true</Deleted>
    <Id>1</Id>
    <Length>1</Length>
    <Location>1</Location>
    <Media>1</Media>
    <Name>sample string 2</Name>
    <PlayDevice>1</PlayDevice>
    <PlayDeviceChapter>1</PlayDeviceChapter>
    <PlayDeviceCue>1</PlayDeviceCue>
    <PlayDeviceFileKey>sample string 4</PlayDeviceFileKey>
    <PlayDeviceSlot>1</PlayDeviceSlot>
    <PlayDeviceTitle>1</PlayDeviceTitle>
    <RecordDevice>1</RecordDevice>
    <RecordDeviceChapter>1</RecordDeviceChapter>
    <RecordDeviceCue>1</RecordDeviceCue>
    <RecordDeviceFileKey>sample string 5</RecordDeviceFileKey>
    <RecordDeviceSlot>1</RecordDeviceSlot>
    <RecordDeviceTitle>1</RecordDeviceTitle>
    <RunDateTime>2017-04-24T06:25:55.1386655-05:00</RunDateTime>
    <RunStatus>1</RunStatus>
    <ScheduleItem>1</ScheduleItem>
  </RecordEvent>
</Resources>