GET
/
assessment
/
api
/
v1
/
questionnaire_data
/
{assessment_id}
curl --request GET \
  --url https://api.eka.care/assessment/api/v1/questionnaire_data/{assessment_id}/ \
  --header 'auth: <api-key>' \
  --header 'client-id: <client-id>' \
  --header 'content-type: <content-type>'
{
  "data": {
    "practitioner": {
      "practitioner_uuid": "TEST-DR-123"
    },
    "patient": {
      "unique_identifier": "TEST-PATIENT-UNIQUE-123",
      "patient_uuid": "TEST-PATIENT-123",
      "age": 24,
      "gender": "m"
    },
    "questionnaire": [
      {
        "question": "What symptoms are you facing?",
        "answer": "Fever, Cough",
        "items": [
          {
            "question": "Fever",
            "answer": "99.5",
            "items": [
              {
                "question": "When did the fever start?",
                "answer": "2 days ago"
              }
            ]
          }
        ]
      }
    ]
  }
}

The format of the response is as follows:

Response

{
    "data": {
        "practitioner": {
            "practitioner_uuid": "<string>"
        },
        "patient": {
            "unique_identifier": "<string>",
            "patient_uuid": "<string>",
            "age": "<integer>",
            "gender": "<m/f/o>",
        },
        "questionnaire": [
            {
                "question": "<string>",
                "answer": "<string>",
                "items": [
                    {
                        "question": "<string>",
                        "answer": "<string>"
                        "items": []
                    }
                ]
            },
        ]
    }
}

Authorizations

auth
string
header
required

The authentication token of the developer (generated using Authorization API).

Headers

client-id
string
required

Any unique string to identify the logged in developer.

content-type
enum<string>
required
Available options:
application/json

Path Parameters

assessment_id
string
required

The hash that uniquely identifies the assessment session.

Response

200
application/json
OK
data
object