Set Collaborator Intake Answer
PUT /collaborators/{collaboratorId}/intake-answers/{questionId}
/collaborators/{collaboratorId}/intake-answers/{questionId}Answers one intake question, routed by its use case as values are: an Org question writes the org record (needs Collaborator.Edit at the organization), an Event question this event's answer, a Both question this event's own row; isCleared true leaves a Both answer deliberately empty here. Needs Collaborator.Edit at the event or on the collaborator, or membership of it (a member answers only collaborator-editable questions). The value is typed by the question's type, as values are. The question must be on the intake form of a profile picked here (intakeQuestions in Collaborators_GetCollaborator). A collaborator's own login may answer only questions flagged collaborator-editable. Clearing a required value, answer or last occupant is a 400 whose missingRequired names it; other edits to an incomplete record succeed.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| collaboratorId | uuid | Required | |
| questionId | uuid | Required |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| value | JsonElement | Optional | |
| isCleared | boolean | Optional |