PUT/events/{eventId}/crew/{crewId}/roles/{roleDefinitionId}/occupants
Sets who fills one of an event crew member's role slots (set semantics: the slot ends holding exactly crewIds and collaboratorRecordIds, org ids
both). Routed by the role definition's use case: an Org role writes the organization crew record's slot (needs Crew.Edit at the organization), an Event or Both
role this event's own slot. People not on the event are pulled on pending: crew under their org home or the placement collaborator named in pulls
(needs Crew.View at the organization plus Collaborator.Manage at the event or Crew.Manage there); a collaborator record needs Collaborator.Manage at the event. A Single
role takes one occupant; archived, blacklisted and vendor-supplied people are refused. The person's own login may fill only crew-editable roles;
anyone else needs Crew.Edit on the placement collaborator or at the event. roleDefinitionId comes from roles in Crew_GetCrewRecord.
Clearing a required value, answer or last occupant is a 400 whose missingRequired names it; other edits to an incomplete record succeed.
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 |
|---|
| eventId | uuid | Required | |
| crewId | 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 | |