Slot

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.

Properties

See "Object Properties" in Introduction for basic shared properties.

Complete details in SlotProperties. It also has these extra read-only properties:

is_assigned

Let's you know whether this slot is used up.

Related Objects

See "Related Objects" in Introduction for how to use them.

convention

The Convention this slot belongs to.

conventionday

The ConventionDay this slot takes place in.

daypart

The DayPart this slot takes place in.

event

The Event using this slot (if any).

room

The Room this slot takes place in.

space

The Space this slot takes place in.

Services

The services used to fetch and manipulate slots.

Search Slots

This will search across all conventions. To search on a single convention see "Relationships" in Convention.

 GET /api/slot
Optional Params
query

Searches a partial name.

Returns:

 {
    "paging" : {...},
    "items" : [
        {
          "id" : "xxx",
          "name" : "Table E3 in Chippewa Ballroom on Friday at 10am",
          ...
        },
        ...
    ]
 }

Create Slot

Slots are generated for you by the system. Create your own slots at your own risk.

 POST /api/slot
Required Params
convention_id
room_id
space_id
conventionday_id
daypart_id

Returns the same as a normal read.

Read Slot

 GET /api/slot/xxx

Returns:

 {
   "id" : "xxx",
   "name" : "Table E3 in Chippewa Ballroom on Friday at 10am",
   ...
 }

Update Slot

 PUT /api/slot/xxx

Returns the same as a normal read.

Delete Slot

 DELETE /api/slot/xxx

Returns:

 {
   "success" : 1
 }