PUT/collaborators/{collaboratorId}/roles/{roleDefinitionId}/occupants
Sets who fills one role slot (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 org record's slot (seen on every event; needs Collaborator.Edit at the organization), an Event or Both role this
event's own slot (a Both slot no longer follows the record once written here). People not on the event are pulled on pending: crew under their org
home or the placement collaborator named in pulls, which needs the directory read permission plus Crew.Manage there
(Collaborator.Manage at the event when the home is not on it); a collaborator record needs Collaborator.Manage at the event. A Single role takes one occupant; archived, blacklisted and vendor-supplied people are refused.
Needs Collaborator.Edit at the event or on the collaborator, or membership of it: a member fills only roles flagged collaborator-editable.
roleDefinitionId comes from roles in Collaborators_GetCollaborator.
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 |
|---|
| collaboratorId | 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 | |