Control the basic parameters of an event and its rules for scheduling and pricing.
You must have the scheduling
ConventionPrivilege to access this.
Event Types are accessed via /api/eventtype
.
See "Object Properties" in Introduction for basic shared properties.
Complete details in EventTypeProperties.
See "Related Objects" in Introduction for how to use them.
The Convention this event type belongs to.
See "Relationships" in Introduction for how to use them.
The list of EventTypeAllowedVolunteers that may volunteer to host events of this type.
By itself this will only return user_id
s associated with the eventtype.
To include user information,
see "Related Objects" in Introduction.
The list of Users allowed to volunteer for events of this type.
The list of Events governed by this event type.
Manages the relationship between this event type and the Rooms allowed to host this event type.
The list of Rooms allowed to host events of this type.
The list of EventSubmissions goverened by this event type.
The services used to fetch and manipulate event types.
This will search across all conventions. To search on a single convention see "Relationships" in Convention.
GET /api/eventtype
Searches a partial name.
Returns:
{ "paging" : {...}, "items" : [ { "id" : "xxx", "name" : "Board Game", ... }, ... ] }
POST /api/eventtype
Returns the same as a normal read.
GET /api/eventtype/xxx
Returns:
{ "id" : "xxx", "name" : "Board Game", ... }
PUT /api/eventtype/xxx
Returns the same as a normal read.
DELETE /api/eventtype/xxx
Returns:
{ "success" : 1 }
To add a user to a restricted list of people allowed to volunteer to host events of this type, call the following endpoint with POST. To remove a user from the list, call with DELETE.
POST /api/eventtype/xxx/allowedvolunteer/:user_id DELETE /api/eventtype/xxx/allowedvolunteer/:user_id
Returns the same as a normal read.
Removes all users on the restricted list of people allowed to volunteer to host events of this type.
DELETE /api/eventtype/xxx/allowedvolunteers/all
Returns the same as a normal read.
Gets any Discounts still available to the event type.
GET /api/eventtype/xxx/available-discounts
Returns the list of Discounts.
Gets the list of DayParts that are available to be assigned to events of this type. Good for EventSubmissions so you don't ask for a day part that is no longer available.
GET /api/eventtype/xxx/available-dayparts
Returns the list of DayPartss available for the Event Type.
An Event Type's list of available dayparts can get out of synch with what is truly available. If need arises, calling this will re-synch the Event Type's information store.
POST /api/eventtype/xxx/available-dayparts/refresh
Returns on success:
{ success => 1 }