GET/Activities/{activityId}/intake
Returns the intake form of the activity's type with its questions, the activity's answers and whether it was
submitted. form is null when the activity has no type or its type has no intake form. activityId from
Activities_GetActivities. Needs Activity.View on the activity.
Path Parameters
| Field | Type | Required | Description |
|---|
| activityId | uuid | Required | |
Response
| Field | Type | Description |
|---|
| form | GetActivityIntakeResponseFormInfo | |
| questions | HostIntakeQuestionResponse[]| null | |
| answers | HostIntakeAnswerResponse[]| null | |
| submittedAt | date-time| null | |
| canEdit | boolean | |
| Field | Type | Description |
|---|
| id | uuid | |
| name | string| null | |
HostIntakeQuestionResponse
| Field | Type | Description |
|---|
| id | uuid | |
| label | string| null | |
| questionText | string| null | |
| type | string| null | |
| isRequired | boolean | |
| index | integer | |
| useCase | string| null | |
| useCases | string[]| null | |
| canEdit | boolean | |
| options | HostIntakeQuestionResponseOptionInfo[]| null | |
HostIntakeAnswerResponse
| Field | Type | Description |
|---|
| questionId | uuid | |
| useCase | string| null | |
| source | string| null | |
| value | JsonElement| null | |
| canEdit | boolean | |
HostIntakeQuestionResponseOptionInfo
| Field | Type | Description |
|---|
| id | uuid | |
| value | string| null | |
| color | string| null | |
| isArchived | boolean | |