POST/collaborators/{collaboratorId}/complete
Completes a pending (automatic) add: optionally replaces the profile pick, then clears addPending and writes the picked profiles' Event and Both role
slots (Both from the record's occupants, pulled on pending), the intakeAnswers to their Event and Both intake questions and the roleOccupants sent.
400 when the add is already complete. Needs Collaborator.Manage at the event.
A 400 whose missingRequired lists each empty required Event attribute, question or role leaves the add pending.
Path Parameters
| Field | Type | Required | Description |
|---|
| collaboratorId | uuid | Required | |
Request Body
| Field | Type | Required | Description |
|---|
| profileIds | uuid[] | Optional | |
| intakeAnswers | SetCollaboratorProfilesRequestIntakeAnswerInput[] | Optional | |
| roleOccupants | SetCollaboratorProfilesRequestRoleOccupantsInput[] | Optional | |
| values | SetCollaboratorProfilesRequestPropertyValueInput[] | Optional | |
| Field | Type | Description |
|---|
| questionId | uuid | |
| value | JsonElement| null | |
| Field | Type | Description |
|---|
| roleDefinitionId | uuid | |
| crewIds | uuid[]| null | |
| collaboratorRecordIds | uuid[]| null | |
| Field | Type | Description |
|---|
| propertyId | uuid | |
| value | JsonElement| null | |
| expiresOn | JsonElement| null | |
| itemExpiries | JsonElement| null | |