GET/events/{eventId}/intake
Returns the event's intake: the form being answered (read live), the current answers, and earlier
submissions with their own forms, newest first. isEditable says whether Events_UpdateIntakeAnswers will
accept edits (active event with a current submission), and canRetake whether Events_SubmitIntakeRetake will
(active event, nothing current, type has a form). typeChange is set when the event's type moved off the form
its earlier intake used. Needs Event.View on the event, through the event token or the owning organization's
token.
Path Parameters
| Field | Type | Required | Description |
|---|
| eventId | uuid | Required | |
Response
| Field | Type | Description |
|---|
| intakeFormId | uuid| null | |
| submittedDate | date-time| null | |
| isEditable | boolean | |
| canRetake | boolean | |
| answers | GetIntakeSubmissionResponseAnswer[]| null | |
| form | GetIntakeFormResponse | |
| history | GetIntakeSubmissionResponsePriorSubmission[]| null | |
| typeChange | GetIntakeSubmissionResponseTypeChangeInfo| null | |
GetIntakeSubmissionResponseAnswer
| Field | Type | Description |
|---|
| questionId | uuid | |
| value | JsonElement| null | |
| modifiedDate | date-time| null | |
| modifiedByUserId | uuid| null | |
| modifiedByName | string| null | |
| Field | Type | Description |
|---|
| id | uuid | |
| name | string| null | |
| requireCompletionBeforeCreate | boolean | |
| isArchived | boolean | |
| questions | GetIntakeFormResponseQuestionResponse[]| null | |
GetIntakeSubmissionResponsePriorSubmission
| Field | Type | Description |
|---|
| id | uuid | |
| intakeFormId | uuid | |
| intakeFormName | string| null | |
| submittedDate | date-time| null | |
| form | GetIntakeFormResponse | |
| answers | GetIntakeSubmissionResponseAnswer[]| null | |
GetIntakeSubmissionResponseTypeChangeInfo
| Field | Type | Description |
|---|
| priorSubmissionId | uuid | |
| priorIntakeFormName | string| null | |
| Field | Type | Description |
|---|
| id | uuid | |
| label | string| null | |
| questionText | string| null | |
| type | string| null | |
| isRequired | boolean | |
| index | integer | |
| useCases | string[]| null | |
| isCollaboratorVisible | boolean | |
| isCollaboratorEditable | boolean | |
| isCrewVisible | boolean | |
| isCrewEditable | boolean | |
| canEdit | boolean | |
| options | GetIntakeFormResponseOptionResponse[]| null | |
| Field | Type | Description |
|---|
| id | uuid | |
| value | string| null | |
| color | string| null | |
| index | integer | |
| isArchived | boolean | |