A slot (aka a time slot) is the marriage of a DayPart and a Space.
You must have the scheduling ConventionPrivilege to access this.
Slots are accessed via /api/slot.
See "Object Properties" in Introduction for basic shared properties.
Complete details in SlotProperties. It also has these extra read-only properties:
Lets you know whether this slot is used.
See "Related Objects" in Introduction for how to use them.
The Convention this slot belongs to.
The ConventionDay this slot takes place in.
The DayPart this slot takes place in.
The Event using this slot (if any). This is also set if the slot is used by an Event's EventSession.
The EventSession using this slot (if any).
The Room this slot takes place in.
The Space this slot takes place in.
The services used to fetch and manipulate slots.
There is no slot search available across conventions. See "Slots" in Convention to request all the slots for a convention.
GET /api/slot/xxx
Returns:
{
"id" : "xxx",
"name" : "Table E3 in Chippewa Ballroom on Friday at 10am",
...
}
Slots are generated for you by the system. Create your own slots at your own risk.
POST /api/slot
Formerly, convention_id, conventionday_id, and room_id were required, but not any more. A Slot's convention_id and conventionday_id will come from its DayPart, and its room_id will come from its Space.
Returns the same as a normal read.
The URI /api/slot/xxx no longer accepts edit (PUT) requests.
The only Slot properties that can be changed for a slot is its is_reserved field, and its event_id field. See below for service endpoints for editing these values.
DELETE /api/slot/xxx
Returns:
{
"success" : 1
}
This endpoint is DEPRECATED. Use "Assign Slots to Event" in Event or "Assign Slots to Event Session" in EventSession as appropriate.
Sets a Slot's associated event_id.
PUT /api/slot/xxx/assign
Returns the same as a normal read.
This endpoint is DEPRECATED. Use "Un-Assign Slots from Event" in Event or "Un-Assign Slots from Event Session" in EventSession as appropriate.
Removes a Slot's associated event_id.
PUT /api/slot/xxx/unassign
Returns the same as a normal read.
Sets a Slot to reserved.
PUT /api/slot/xxx/reserve
Returns the same as a normal read.
Removes a Slot's reserved setting.
PUT /api/slot/xxx/unreserve
Returns the same as a normal read.