Skip to main content
Skip table of contents

Updating the airing time on a single event

Request

To update a single event's airing time, send a PUT request to:

CODE
http://<server>:<port>/cpm/content/v1/events/{eventId}

Headers

  • Content-Type: application/json

Mandatory fields

The mandatory fields depend on the parameter(s) being updated:

  • eventId – the ID of the event to be updated

  • You must also specify airingStartTime, airingEndTime, or both.

Example

A request with this payload updates the airing start and end times of the event with the ID specified in the URL:

JSON
{
   "airingStartTime": "2036-02-01T11:00:00Z",
   "airingEndTime": "2036-02-01T11:10:00Z"
}

Response

A successful request returns an HTTP 200 status and a link to the event(s).

A bad request returns an HTTP 400 status.




Example

A successful request returns a payload that looks like this:

JSON
{
    "self": "/content/v1/events/GLOBAL_event1"
}

See also

For full details of this API, see Content and Product Manager (CPM) API documentation: content v1.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.