DayPart

Subdivides a ConventionDay. You must have the everything ConventionPrivilege to access this. Day Parts are accessed via /api/daypart.

Properties

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

Complete details in DayPartProperties.

Related Objects

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

convention

The Convention this day part belongs to.

conventionday

The ConventionDay this day part belongs to.

Relationships

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

alternateevents

The list of Events that use this day part as their alternate start time.

alternateeventsubmissions

The list of EventSubmissions that use this day part as their alternate start time.

preferredevents

The list of Events that use this day part as their preferred start time.

preferredeventsubmissions

The list of EventSubmissions that use this day part as their preferred start time.

eventstarts

The list of Events that use this day part as their actual scheduled start time.

slots

The list of Slots that were generated for this day part.

Services

The services used to fetch and manipulate day parts.

Search Day Parts

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

 GET /api/daypart
Optional Params
query

Searches a partial name.

Returns:

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

Create Day Part

 POST /api/daypart
Required Params
convention_id
name
conventionday_id
start_date

Returns the same as a normal read.

Read Day Part

 GET /api/daypart/xxx

Returns:

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

Update Day Part

 PUT /api/daypart/xxx

Returns the same as a normal read.

Delete Day Part

 DELETE /api/daypart/xxx

Returns:

 {
   "success" : 1
 }