Get a form response and its fields.
curl -i -X GET \
'https://developer.herohealth.net/_mock/apis/public-api/openapi/v1/form_response/{id}' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-H 'x-practice-group-id: YOUR_API_KEY_HERE'
{ "id": 0, "form_id": 0, "client_id": 0, "appointment_id": 0, "invoice_id": 0, "practice_group_id": 0, "created_at": "string", "updated_at": "string", "hidden": true, "emis_file_record_at": "string", "short_link_id": 0, "admin_id": 0, "write_to_record_error": "string" }
curl -i -X GET \
'https://developer.herohealth.net/_mock/apis/public-api/openapi/v1/form_submission_response/{id}' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-H 'x-practice-group-id: YOUR_API_KEY_HERE'
Ok
{ "id": "string", "form_type": "questionnaire", "title": "string", "description": "string", "patient_title": "string", "patient_description": "string", "snomed_code": "string", "fields": [ { … } ], "patient_id": "string", "emis_file_record_at": "string" }
curl -i -X GET \
'https://developer.herohealth.net/_mock/apis/public-api/openapi/v2/form_responses?created_at%5B%5D=string&form_title=string&form_type=string&order_by=patient_first_name&order_descending=true&page_index=string&page_size=string&patient_first_name=string&patient_full_name=string&patient_id=string&patient_last_name=string&status=success' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-H 'x-practice-group-id: YOUR_API_KEY_HERE'