API Docs//
API Reference
/- Create Form Response
List Forms
Create Form
Update Form
Get Form
Update Form Response
Create Form Response
Create a response for a given Form ID.
Security
apiKeyAuth and practiceGroupId
- Mock serverhttps://developer.herohealth.net/_mock/apis/public-api/openapi/v1/forms/{id}/response
- Staginghttps://api.staging.htech.app/v1/forms/{id}/response
- Productionhttps://api.herohealth.net/v1/forms/{id}/response
curl -i -X POST \
'https://developer.herohealth.net/_mock/apis/public-api/openapi/v1/forms/{id}/response' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-H 'x-practice-group-id: YOUR_API_KEY_HERE' \
-d '{
"patient_id": "string",
"write_to_record": false,
"responses": [
{
"form_question_id": "string",
"text_response": "string",
"integer_response": 0,
"boolean_response": true,
"checkbox_response": [
"string"
],
"datetime_response": "string",
"observation_value_response": "string",
"problem_response": "string",
"immunisation_response": "string",
"base_64_content_type": "string",
"base_64_file_name": "string",
"base_64_file_response": "string"
}
],
"appointment_id": "string"
}'Response
{ "form_response_id": "string", "confirm_write_to_record_url": "string" }