Docs

Complete Collaborator

POST /collaborators/{collaboratorId}/complete

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

FieldTypeRequiredDescription
collaboratorIduuidRequired

Request Body

FieldTypeRequiredDescription
profileIdsuuid[]Optional
intakeAnswersSetCollaboratorProfilesRequestIntakeAnswerInput[]Optional
roleOccupantsSetCollaboratorProfilesRequestRoleOccupantsInput[]Optional
valuesSetCollaboratorProfilesRequestPropertyValueInput[]Optional

SetCollaboratorProfilesRequestIntakeAnswerInput

FieldTypeDescription
questionIduuid
valueJsonElement| null

SetCollaboratorProfilesRequestRoleOccupantsInput

FieldTypeDescription
roleDefinitionIduuid
crewIdsuuid[]| null
collaboratorRecordIdsuuid[]| null

SetCollaboratorProfilesRequestPropertyValueInput

FieldTypeDescription
propertyIduuid
valueJsonElement| null
expiresOnJsonElement| null
itemExpiriesJsonElement| null