Event schedule warnings.
An Event Warning is always attached to a specific event session; either the main session for the Event or an actual EventSession.
You must have the scheduling
ConventionPrivilege to access this.
See "Object Properties" in Introduction for basic shared properties.
Complete details in EventWarningProperties.
See "Related Objects" in Introduction for how to use them.
The Convention this event warning belongs to.
The Event this event warning belongs to.
The EventSession this event warning belongs to.
Event Warnings have no child relationships.
Event Warnings have no descriptor includes.
The services used to fetch and manipulate event warnings.
To request events, a user must make a request via an endpoint for a parent object. Currently these are:
Departures/differences from basic behavior will be discussed in the documentation for the specific parent=>eventwarning relationship.
Returns:
{ "paging" : {...}, "items" : [ { "id" : "xxx", "message" : "You've been warned!", ... }, ... ] }
Pass a string query
to search for a partial match in specifically allowed text fields.
The text of the warning.
Valid types are:
The start time in the Event or EventSession does not match that of its first DayPart.
Not marked scheduled, but has assigned slots.
Marked scheduled, but has no assigned slots.
Special request not met.
Start daypart doesn't match preferred or alternate daypart.
Spans multiple days.
Spaces used doesn't match spaces needed.
Time slots are non-contiguous.
Time slots don't match event duration.
The Event Warning API does not support a discrete endpoint for event warning creation. Event Warnings are created automatically whenever there is a conflict in the schedule of an Event or EventSession.
GET /api/eventwarning/xxx
Returns:
{ "id" : "xxx", "event_id" : "xxx", "type" : "host_double_booked", ... }
The Event Warning API does not support a discrete endpoint for general-purpose editing. Event Warnings are resolved automatically when a conflict in the schedule of an Event or EventSession is resolved.
Deletes the specified warning. Only resolved warnings may be deleted. See also "Delete Resolved Event Warnings" in Event.
DELETE /api/eventwarning/xxx
Returns:
{ "success" : 1 }
This will set the event warning as seen
. A warning marked as seen (or hidden) will not appear by default on the Events scheduling index page. Some types of warnings, such as "host double booked", can't be hidden.
POST /api/eventwarning/xxx/hide
Returns same as a normal read.
This will un-set the event warning as seen
.
POST /api/eventwarning/xxx/unhide
Returns same as a normal read.
Hey! The above document had some coding errors, which are explained below:
You forgot a '=back' before '=head3'