Queries
Get the form response from a given form activity
- graphql
01query GetFormResponse($pathway_id: String!, $activity_id: String!) {02 formResponse(pathway_id: $pathway_id, activity_id: $activity_id) {03 response {04 answers {05 question_id06 value07 value_type08 }09 }10 }11}
- json
01{02 "pathway_id": "{{PATIENT_PATHWAY_ID}}",03 "activity_id": "{{FORM_ACTIVITY_ID}}"04}
The inputs for this query are:
Field | Required | Description | Type |
---|---|---|---|
pathway_id | Yes | the id of the pathway | string |
activity_id | Yes | the id of the form activity (note: not the form id) | string |