Docs

Complete Area

POST /areas/{areaId}/complete

POST/areas/{areaId}/complete

Completes a pending area pick: clears addPending, writes the Event values sent (Org and Both values belong to the record), the area's Event slots and its Both slots copied once from the record (those people pulled on pending), then the intakeAnswers and roleOccupants sent. 400 when the add is already complete, or with missingRequired listing each empty required Event value, answer or role (the area stays pending). Needs Area.Manage at the event.

Path Parameters

FieldTypeRequiredDescription
areaIduuidRequired

Request Body

FieldTypeRequiredDescription
valuesCompleteAreaRequestValueInput[]Optional
intakeAnswersCompleteAreaRequestIntakeAnswerInput[]Optional
roleOccupantsCompleteAreaRequestRoleOccupantsInput[]Optional

CompleteAreaRequestValueInput

FieldTypeDescription
attributeIduuid
valueJsonElement| null
expiresOnJsonElement| null
itemExpiriesJsonElement| null

CompleteAreaRequestIntakeAnswerInput

FieldTypeDescription
questionIduuid
valueJsonElement| null

CompleteAreaRequestRoleOccupantsInput

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