Subdivides a ConventionDay.
You must have the everything
ConventionPrivilege to access this.
Day Parts are accessed via /api/daypart
.
See "Object Properties" in Introduction for basic shared properties.
Complete details in DayPartProperties.
See "Related Objects" in Introduction for how to use them.
The Convention this day part belongs to.
The ConventionDay this day part belongs to.
See "Relationships" in Introduction for how to use them.
The list of Events that use this day part as their alternate start time.
The list of EventSessions that use this day part as their alternate start time.
The list of EventSubmissions that use this day part as their alternate start time.
The list of EventSubmissionSessions that use this day part as their alternate start time.
The list of Events that use this day part as their preferred start time.
The list of EventSessions that use this day part as their preferred start time.
The list of EventSubmissions that use this day part as their preferred start time.
The list of EventSubmissionSessions that use this day part as their preferred start time.
The list of Events that use this day part as their actual scheduled start time.
The list of EventSessions that use this day part as their actual scheduled start time.
The list of Slots that were generated for this day part.
See "Includes" in Introduction for how to use them.
Adds two additional properties: missing_daypart_before
and missing_daypart_after
.
1
if this daypart is missing a daypart before or after,
respectively,
0
if not.
Adds two additional properties: is_on_schedule
,
which is if any slots for this daypart have been assigned to an event,
and is_requested_for_schedule
,
which is any slots for this daypart were chosen as preferred or alternate start times for any events or event sessions.
For both,
1
is returned if true,
0
if not.
The services used to fetch and manipulate day parts.
Searching all dayparts across conventions is no longer supported. To search on a single convention see "Relationships" in Convention.
The endpoint /api/daypart
no longer supports the create (POST
) action.
See "Add Day Part to Convention Day" in ConventionDay.
GET /api/daypart/xxx
Returns:
{ "id" : "xxx", "name" : "Friday", ... }
Day Parts can no longer be updated (except for via name changes to the DayPart's ConventionDay).
DELETE /api/daypart/xxx
Returns:
{ "success" : 1 }