Questionnaire Responses

Syncs Questionnaire Responses from Device to Server

Changed on
post/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
  • Auth
    HTTP bearer and API key in header X-USER-ID and API key in header X-FACILITY-ID

Headers

HTTP_X_USER_IDunknown
HTTP_X_FACILITY_IDunknown

Request body

Example request

{
  "questionnaire_responses": [
    {
      "content": {
        "month_date": "2023-08-01",
        "submitted": true,
        "monthly_screening_report.diagnosed_cases_on_follow_up_htn.male": 180
      }
    }
  ]
}

Response

some, or no errors were found

Changes