Docs
Get Intake Form
GET /intakeForms/{formId}
GET
/intakeForms/{formId}Returns one intake form with its questions in order and each question's options. Needs Event.Configure at the organization, or Event.Manage there or at a location, as the create-event wizard reads it. The form id comes from an event type's intakeFormId (Metadata_GetOrganizationMetadata) or Events_GetIntakeForms. A question's canEdit is false when its answer fills an attribute in a field class the caller can't edit; leave that answer out.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| formId | uuid | Required |
Response
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| name | string| null | |
| requireCompletionBeforeCreate | boolean | |
| isArchived | boolean | |
| questions | GetIntakeFormResponseQuestionResponse[]| null |
GetIntakeFormResponseQuestionResponse
| 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 |
GetIntakeFormResponseOptionResponse
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| value | string| null | |
| color | string| null | |
| index | integer | |
| isArchived | boolean |