PUT/Activities/{activityId}/roles/{roleDefinitionId}/occupants
Sets who fills one role slot on the activity (set semantics: org crew ids from OrgCrew_GetCrew or collaborator record
ids). On an event activity a person not on the event is pulled on first (crew through the one pull, a collaborator
added pending). Each occupant becomes a participant the role controls. Archived, blacklisted and vendor-supplied
people are refused; Single with two, the wrong filler kind and emptying a required slot are 400s. Adding or
removing an event collaborator participant needs Activity.Edit for that collaborator, unless the caller holds
Activity.Edit at the event. Returns 200 with no body. Needs Activity.Edit on the activity. A write that meets the gate of a never-activated Draft moves it to Tentative, so state and activatedAt may change.
Path Parameters
| Field | Type | Required | Description |
|---|
| activityId | uuid | Required | |
| roleDefinitionId | uuid | Required | |
Request Body
| Field | Type | Required | Description |
|---|
| crewIds | uuid[] | Optional | |
| collaboratorRecordIds | uuid[] | Optional | |
| pulls | BaseServiceCrewPull[] | Optional | |
BaseServiceCrewPull
| Field | Type | Description |
|---|
| orgCrewId | uuid | |
| placementCollaboratorId | uuid| null | |