Convention Day

These define the start and end times of each day of yuor Convention. You must have the everything ConventionPrivilege to access this. Convention Days are accessed via /api/conventionday.

Properties

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

Complete details in ConventionDayProperties.

Related Objects

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

convention

The Convention this conventionday belongs to.

Relationships

See "Relationships" in Introduction for how to use them.

badgetypecondays

Manages the relationship between convention days and BadgeTypes.

badgetypes

The list of BadgeTypes that use this convention day.

dayparts

The list of DayParts that are within this convention day.

shifts

The list of Shifts that are on this day.

slots

The list of Slots that are within this day.

Services

The services used to fetch and manipulate convention days.

Search Convention Days

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

 GET /api/conventionday
Optional Params
query

Searches a partial name.

Returns:

 {
    "paging" : {...},
    "items" : [
        {
          "id" : "xxx",
          "name" : "Friday",
          ...
        },
        ...
    ]
 }

Create Convention Day

 POST /api/conventionday
Required Params
convention_id
name
start_date
end_date

Returns the same as a normal read.

Read Convention Day

 GET /api/conventionday/xxx

Returns:

 {
   "id" : "xxx",
   "name" : "Friday",
   ...
 }

Update Convention Day

 PUT /api/conventionday/xxx

Returns the same as a normal read.

Delete Convention Day

 DELETE /api/conventionday/xxx

Returns:

 {
   "success" : 1
 }

Copy Convention Day Shifts

Copy the volunteer Shifts from one convention day to this one. Requires the volunteers privilege.

 POST /api/conventionday/xxx/copy/shifts
Required Params
from_day

The c<id> for the convention day to copy Shifts from.

Returns:

 {
   "success" : 1,
   "copied_count" : [integer]
 }

Add Day Part to Convention Day

 POST /api/conventionday/xxx/dayparts/add

DayPart creation no longer accepts parameters for Day Part fields, such as name, start_date, and so on. DayPart names are created automatically and times are also limited according to the Convention Day event schedule time range and the Convention's slot_duration.

Optional Params
add_from

Where to add the daypart. Can be start, end, or all; defaults to all. start will add a single daypart closest to Convention Day start (where missing); end will add a single daypart closest to Convention Day end (where missing). all will fill in all the ConventionDay's missing dayparts.