Questionnaire Responses
Syncs Questionnaire Responses from Server to Device
Changed onget/questionnaire_responses/sync
Request
- Base URL/api/v4 (relative, and the document was published on a file host, not at the API’s origin)
- URL/api/v4/questionnaire_responses/sync
- AuthHTTP bearer and API key in header X-USER-ID and API key in header X-FACILITY-ID
Query parameters
process_tokenstring byte
Token containing all the information needed to process batch requests from the user
limitinteger
Number of record to retrieve (a.k.a batch-size)
Headers
HTTP_X_USER_IDunknown
HTTP_X_FACILITY_IDunknown
Response
questionnaire responses synced to user device
Example response
{
"questionnaire_responses": [
{
"content": {
"month_date": "2023-08-01",
"submitted": true,
"monthly_screening_report.diagnosed_cases_on_follow_up_htn.male": 180
}
}
]
}Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking