Add Schedule Event
Changed onAdd a new scheduled event for a Campaign/Layout to be shown on a Display Group/Display.
Request
- Base URL/api (relative, and the document was published on a file host, not at the API’s origin)
- URL/api/schedule
- Authnone declared
Request body application/x-www-form-urlencoded
The Event Type Id to use for this Event. * 1=Layout, 2=Command, 3=Overlay, 4=Interrupt, 5=Campaign, 6=Action, 7=Media Library, 8=Playlist
The Campaign ID to use for this Event. * If a Layout is needed then the Campaign specific ID for that Layout should be used.
For Media or Playlist event Type. The Layout specific Campaign ID to use for this Event. * This needs to be the Layout created with layout/fullscreen function
The Command ID to use for this Event.
The Media ID to use for this Event.
The display order for this event.
An integer indicating the priority of this event. Normal events have a priority of 0.
The Display Group IDs for this event. Display specific Group IDs should be used to schedule on single displays.
The Day Part for this event. Overrides supported are 0(custom) and 1(always). Defaulted to 0.
Should this schedule be synced to the resulting Display timezone?
The from date for this event.
The to date for this event.
The type of recurrence to apply to this event.
The interval for the recurrence.
The end date for this events recurrence.
The days of the week that this event repeats - weekly only
Flag (0-1), whether this event is using Geo Location
Array of comma separated strings each with comma separated pair of coordinates
Valid GeoJSON string, use as an alternative to geoLocation parameter
For Action eventTypeId, the type of the action - command or navLayout
For Action eventTypeId, the webhook trigger code for the Action
For Action eventTypeId and navLayout actionType, the Layout Code identifier
For Data Connector eventTypeId, the DataSet ID
For Data Connector eventTypeId, the DataSet params
Response
successful operation
The ID of this Event
The Event Type ID
The CampaignID this event is for
The CommandId this event is for
The userId that owns this event.
A Unix timestamp representing the from date of this event in CMS time.
A Unix timestamp representing the to date of this event in CMS time.
Integer indicating the event priority.
The display order for this event.
If this event recurs when what is the recurrence period.
If this event recurs when what is the recurrence frequency.
A Unix timestamp indicating the end time of the recurring events.
Recurrence repeats on days - 0 to 7 where 0 is a monday
Recurrence monthly repeats on - 0 is day of month, 1 is weekday of week
The Campaign/Layout Name
The Command Name
The Day Part Id
Is this event an always on event?
Does this event have custom from/to date times?
Flag indicating whether the event should be synchronised across displays
Flag indicating whether the event will sync to the Display timezone
Seconds (0-3600) of each full hour that is scheduled that this Layout should occupy
The maximum number of plays per hour per display for this event
Flag (0-1), whether this event is using Geo Location
Geo JSON representing the area of this event
For Action event type, Action trigger code
For Action event type, the type of the Action (navigate to Layout or Command)
For Action event type and navigate to Layout Action type, the Layout code
If the schedule should be considered part of a larger campaign
For sync events, the id the the sync group
For data connector events, the dataSetId
For data connector events, the data set parameters
The userId of the user that last modified this Schedule
The Date this Schedule was created on
The Date this Schedule was las updated on
The name of this Scheduled Event
The resolutionId of this Fullscreen Scheduled Event
The duration of this Fullscreen Scheduled Event
The background color of this Fullscreen Scheduled Event
Changes
- info
added the optional property
//to the response with the status
- info
- breaking
added required request body
- info
added the media type
application/jsonfor the response with the status
- breaking