You must have the volunteers
ConventionPrivilege to access this.
ShiftTypes are accessed via /api/shifttype
.
See "Object Properties" in Introduction for basic shared properties.
Complete details in ShiftTypeProperties. It also has these extra read-only properties:
Volunteer applications for shifts of this type will be scheduled automatically.
See "Related Objects" in Introduction for how to use them.
The Convention this shifttype belongs to.
Optional. The Room in which shifts of this type are located.
See "Relationships" in Introduction for how to use them.
Shifts created for this convention.
See "Includes" in Introduction for how to use them.
There are no additional Include options for shift types.
The services used to fetch and manipulate shifttypes.
Search across all conventions is not enabled. To search on a single convention see "Relationships" in Convention.
POST /api/shifttype
Returns the same as a normal read.
GET /api/shifttype/xxx
Returns:
{ "id" : "xxx", "name" : "The Captain is Dead", ... }
PUT /api/shifttype/xxx
Returns the same as a normal read.
DELETE /api/shifttype/xxx
Returns:
{ "success" : 1 }