PUT/areas/{areaId}/roles/{roleDefinitionId}/occupants
Sets who fills one role slot (set semantics: the slot ends holding exactly crewIds and collaboratorRecordIds, org ids both). On an
owned area an Org role writes the record's slot (needs Collaborator.Edit at the organization), an Event or Both role this area's
slot; on an event-only area every role is the area's own. People not on the event are pulled on pending, crew under the placement
collaborator named in pulls, as on Collaborators_SetCollaboratorRoleOccupants. 400 while the area's add is pending, or when emptying
a required slot (missingRequired names it). roleDefinitionId comes from roles in Areas_GetArea. Needs Area.Edit at the event or on the area.
fillingEventRoleId binds an Event or Both slot to a Single event role from Events_GetEventRoles; its occupant fills the slot and follows it.
Null with no occupant lists unbinds; occupant lists on a bound slot are a 400. An own login cannot bind or unbind.
Path Parameters
| Field | Type | Required | Description |
|---|
| areaId | uuid | Required | |
| roleDefinitionId | uuid | Required | |
Request Body
| Field | Type | Required | Description |
|---|
| crewIds | uuid[] | Optional | |
| collaboratorRecordIds | uuid[] | Optional | |
| pulls | BaseServiceCrewPull[] | Optional | |
| fillingEventRoleId | uuid | Optional | |
BaseServiceCrewPull
| Field | Type | Description |
|---|
| orgCrewId | uuid | |
| placementCollaboratorId | uuid| null | |