XUND API Documentation

GET /v1/chatbot/question/bulk


Use this endpoint to ask multiple questions that were answered before.

In case of losing locally stored data of previously answered questions, the user interface can be rebuilt by using this endpoint.

Request

Request header additional fields

Parameter name

Parameter type

Parameter description

check-id

string

The ongoing check’s identifier

language

ClientLanguage

The expected language of the response

Request Query parameters

Parameter name

Parameter type

Parameter description

ids

string[]

ids of requested questions

Examples

Click to expand...

URL

Purpose

/v1/chatbot/question/bulk?ids[]=7e184b14-70a9-4401-b17f-07e0bd0383ba

Requests the details of question by the question id 7e184b14-70a9-4401-b17f-07e0bd0383ba

/v1/chatbot/question/bulk?ids[]=7e184b14-70a9-4401-b17f-07e0bd0383ba&ids[]=0185daaf-a95c-4d3d-bc0e-f055be5f8d89&ids[]=ce5b2bf5-5b7a-40ef-a497-a1383e4c47be

Requests the details of questions by the question ids:

7e184b14-70a9-4401-b17f-07e0bd0383ba

0185daaf-a95c-4d3d-bc0e-f055be5f8d89

ce5b2bf5-5b7a-40ef-a497-a1383e4c47be


Response

The response is a list of questions (Question[]) including all details of the requested questions.

Examples

Click to expand...
JSON
[
  {
    "id": "0d690b6d-3693-4a82-b9ee-584587b7cbad",
    "text": "In which year were you born?",
    "isSkippable": false,
    "isAnswered": true,
    "type": "TEXT",
    "detailedType": "AGE",
    "checkStateInfo": {
      "detailedState": "AGE",
      "state": "PROFILE"
    },
    "answerValidatorRegex": "^(19[0-9][0-9]|20[01][0-9]|202[0-1])$"
  },
  {
    "id": "01ceb01f-24a7-4566-a5db-c762a7ed1bb8",
    "text": "What is your biological gender?",
    "isSkippable": false,
    "isAnswered": true,
    "type": "SINGLE_SELECT",
    "detailedType": "GENDER",
    "checkStateInfo": {
      "detailedState": "GENDER",
      "state": "PROFILE"
    },
    "options": {
      "count": 2,
      "values": [
        {
          "id": "b23eb6b5-fc24-4a49-bf7d-ab695c8f04a1",
          "text": "Male",
          "type": "SURVEY_ANSWER",
          "isSelected": true
        },
        {
          "id": "80e5d6f2-d486-45c7-8e3e-7e73e3dd0519",
          "text": "Female",
          "type": "SURVEY_ANSWER",
          "isSelected": false
        }
      ]
    }
  },
  {
    "id": "bd88ab6b-8809-4c32-b8d6-e50d3d9ac618",
    "text": "As a first step, we will identify the symptom that bothers you the most",
    "isSkippable": true,
    "isAnswered": true,
    "type": "INFO",
    "detailedType": "PROGRESS",
    "checkStateInfo": {
      "detailedState": "MAIN_SYMPTOM_INFO",
      "state": "MAIN_SYMPTOM"
    },
    "detailedTypeData": {
      "currentStep": 1,
      "numberOfSteps": 3,
      "progress": 0.15,
      "title": "Main Symptom"
    }
  },
  {
    "id": "8562136f-4d21-4b64-a664-90ee46298133",
    "text": "Where do you experience your main symptom?",
    "isSkippable": true,
    "isAnswered": true,
    "type": "SINGLE_SELECT",
    "detailedType": "BODY_PART_SELECTOR",
    "checkStateInfo": {
      "detailedState": "MAIN_SYMPTOM_BODY_PART_SELECTION",
      "state": "MAIN_SYMPTOM"
    },
    "detailedTypeData": {
      "previouslySelectedBodyPartIds": [
        "fd06fdd8-e252-4fe3-af67-0c43480f8c09"
      ],
      "gender": "MALE",
      "styling": "PRIMARY"
    },
    "options": {
      "count": 34,
      "values": [
        {
          "id": "4db32d26-15d4-4155-b947-9640bfe85d48",
          "text": "Ankle",
          "type": "BODY_PART",
          "code": "ankle",
          "isSelected": false
        },
        {
          "id": "70459fc7-0916-46bb-a91a-d97681cb9614",
          "text": "Armpits",
          "type": "BODY_PART",
          "code": "armpit",
          "isSelected": false
        },
        {
          "id": "b7e1aa1a-b1aa-44bf-a52d-4677b3b4ab6f",
          "text": "Back",
          "type": "BODY_PART",
          "code": "back",
          "isSelected": false
        },
        {
          "id": "421dec65-85ed-4d3d-8b86-b6d6cc399345",
          "text": "Belly",
          "type": "BODY_PART",
          "code": "stomach",
          "isSelected": false
        },
        {
          "id": "2657e010-d733-4cb8-b172-3ed728a32ba7",
          "text": "Breast",
          "type": "BODY_PART",
          "code": "breast",
          "isSelected": false
        },
        {
          "id": "fc56bd7f-5f33-4a64-9741-cf57b6b8bcf8",
          "text": "Buttocks",
          "type": "BODY_PART",
          "code": "buttocks",
          "isSelected": false
        },
        {
          "id": "bf0fcc65-dd53-496f-bc23-e5d840629797",
          "text": "Ear",
          "type": "BODY_PART",
          "code": "ear",
          "isSelected": false
        },
        {
          "id": "4b0ef141-d9bc-46ad-ad0f-d56193ccf173",
          "text": "Elbow",
          "type": "BODY_PART",
          "code": "elbow",
          "isSelected": false
        },
        {
          "id": "a2494584-fe12-40ef-bac2-ac53e5232ae5",
          "text": "Eyes",
          "type": "BODY_PART",
          "code": "eyes",
          "isSelected": false
        },
        {
          "id": "fd06fdd8-e252-4fe3-af67-0c43480f8c0E",
          "text": "Face",
          "type": "BODY_PART",
          "code": "face",
          "isSelected": false
        },
        {
          "id": "d84c392f-0c05-4376-ae7f-237e727d83aA",
          "text": "Finger",
          "type": "BODY_PART",
          "code": "fingers",
          "isSelected": false
        },
        {
          "id": "5c75bd6e-b698-40a0-9c23-ca0e35cadcca",
          "text": "Foot",
          "type": "BODY_PART",
          "code": "feet",
          "isSelected": false
        },
        {
          "id": "09a894fe-a154-404d-a408-2d7a0f8f736e",
          "text": "Forearm",
          "type": "BODY_PART",
          "code": "forearm",
          "isSelected": false
        },
        {
          "id": "5fdbb273-84f9-418c-8956-a960383d70cc",
          "text": "Genitalia",
          "type": "BODY_PART",
          "code": "genitals",
          "isSelected": false
        },
        {
          "id": "49998dd9-491a-4ea3-ae60-5c48b2f0626a",
          "text": "Hand",
          "type": "BODY_PART",
          "code": "hands",
          "isSelected": false
        },
        {
          "id": "032247a1-65c0-4eaf-8b09-71ef76eefaaa",
          "text": "Head",
          "type": "BODY_PART",
          "code": "head",
          "isSelected": false
        },
        {
          "id": "c3dbf2f6-26da-4473-a946-4df9a9925fb6",
          "text": "Heel",
          "type": "BODY_PART",
          "code": "heel",
          "isSelected": false
        },
        {
          "id": "d84c392f-0c05-4376-ae7f-237e727d83a5",
          "text": "Hip",
          "type": "BODY_PART",
          "code": "hip",
          "isSelected": false
        },
        {
          "id": "952cbd65-0c88-4e21-bc59-5c6a7911365f",
          "text": "Knee",
          "type": "BODY_PART",
          "code": "knee",
          "isSelected": false
        },
        {
          "id": "253d7b60-b178-4cfc-850f-0ef5f8ad09a7",
          "text": "Lower back",
          "type": "BODY_PART",
          "code": "lowerback",
          "isSelected": false
        },
        {
          "id": "f4288391-0ee6-4f45-8826-adf796ff8ecb",
          "text": "Lower leg",
          "type": "BODY_PART",
          "code": "lowerleg",
          "isSelected": false
        },
        {
          "id": "834ab6f0-990f-49a7-a4d5-a4c2e22d11a1",
          "text": "Mental",
          "type": "BODY_PART",
          "code": "mental",
          "isSelected": false
        },
        {
          "id": "6805ab57-ff41-4318-a525-c24fa9a9a6dc",
          "text": "Mouth",
          "type": "BODY_PART",
          "code": "mouth",
          "isSelected": false
        },
        {
          "id": "b4768dcb-3e7a-499a-b3d8-7582f1930da7",
          "text": "Nape",
          "type": "BODY_PART",
          "code": "nape",
          "isSelected": false
        },
        {
          "id": "15398f45-1491-4d70-af59-c0a909720fd4",
          "text": "Nose",
          "type": "BODY_PART",
          "code": "nose",
          "isSelected": false
        },
        {
          "id": "ceec19ab-0a1f-4ee7-b785-34e3bd054059",
          "text": "Occiput",
          "type": "BODY_PART",
          "code": "occiput",
          "isSelected": false
        },
        {
          "id": "6ed6c611-4fdb-48ec-8210-07ae14757728",
          "text": "Shoulder",
          "type": "BODY_PART",
          "code": "shoulders",
          "isSelected": false
        },
        {
          "id": "fd06fdd8-e252-4fe3-af67-0c43480f8c0D",
          "text": "Spine",
          "type": "BODY_PART",
          "code": "spine",
          "isSelected": false
        },
        {
          "id": "571c5578-a581-4431-8629-2a559627a6a9",
          "text": "Thighs",
          "type": "BODY_PART",
          "code": "thigh",
          "isSelected": false
        },
        {
          "id": "fd06fdd8-e252-4fe3-af67-0c43480f8c09",
          "text": "Thorax",
          "type": "BODY_PART",
          "code": "chest",
          "isSelected": false
        },
        {
          "id": "22d4e379-bfdb-4f24-af65-0c209db26aeb",
          "text": "Throat",
          "type": "BODY_PART",
          "code": "throat",
          "isSelected": false
        },
        {
          "id": "fc56bd7f-5f33-4a64-9741-cf57b6b8bcfC",
          "text": "Toe",
          "type": "BODY_PART",
          "code": "toes",
          "isSelected": false
        },
        {
          "id": "69126401-61e4-4dad-8cc1-ed0a0483110b",
          "text": "Upper arm",
          "type": "BODY_PART",
          "code": "upperarm",
          "isSelected": false
        },
        {
          "id": "f4288391-0ee6-4f45-8826-adf796ff8ecB",
          "text": "Wrist",
          "type": "BODY_PART",
          "code": "wrist",
          "isSelected": false
        }
      ]
    }
  },
  {
    "id": "37fcfa0c-c377-4b0f-b972-00f351c85067",
    "text": "Where does the skin redness occur?",
    "isSkippable": true,
    "isAnswered": true,
    "type": "SINGLE_SELECT",
    "detailedType": "BODY_PART_SELECTOR",
    "checkStateInfo": {
      "detailedState": "MAIN_SYMPTOM_SURVEY",
      "state": "MAIN_SYMPTOM"
    },
    "detailedTypeData": {
      "linkedSymptom": {
        "id": "8c2a36c5-b071-4a49-845d-75c496950212",
        "name": "Reddening of the skin"
      },
      "gender": "MALE",
      "previouslySelectedBodyPartIds": [],
      "styling": "SECONDARY"
    },
    "options": {
      "count": 33,
      "values": [
        {
          "id": "4db32d26-15d4-4155-b947-9640bfe85d48",
          "text": "Ankle",
          "type": "BODY_PART",
          "isSelected": false,
          "code": "ankle"
        },
        {
          "id": "70459fc7-0916-46bb-a91a-d97681cb9614",
          "text": "Armpits",
          "type": "BODY_PART",
          "isSelected": false,
          "code": "armpit"
        },
        {
          "id": "b7e1aa1a-b1aa-44bf-a52d-4677b3b4ab6f",
          "text": "Back",
          "type": "BODY_PART",
          "isSelected": false,
          "code": "back"
        },
        {
          "id": "421dec65-85ed-4d3d-8b86-b6d6cc399345",
          "text": "Belly",
          "type": "BODY_PART",
          "isSelected": false,
          "code": "stomach"
        },
        {
          "id": "2657e010-d733-4cb8-b172-3ed728a32ba7",
          "text": "Breast",
          "type": "BODY_PART",
          "isSelected": false,
          "code": "breast"
        },
        {
          "id": "fc56bd7f-5f33-4a64-9741-cf57b6b8bcf8",
          "text": "Buttocks",
          "type": "BODY_PART",
          "isSelected": false,
          "code": "buttocks"
        },
        {
          "id": "bf0fcc65-dd53-496f-bc23-e5d840629797",
          "text": "Ear",
          "type": "BODY_PART",
          "isSelected": false,
          "code": "ear"
        },
        {
          "id": "4b0ef141-d9bc-46ad-ad0f-d56193ccf173",
          "text": "Elbow",
          "type": "BODY_PART",
          "isSelected": false,
          "code": "elbow"
        },
        {
          "id": "a2494584-fe12-40ef-bac2-ac53e5232ae5",
          "text": "Eyes",
          "type": "BODY_PART",
          "isSelected": false,
          "code": "eyes"
        },
        {
          "id": "fd06fdd8-e252-4fe3-af67-0c43480f8c0E",
          "text": "Face",
          "type": "BODY_PART",
          "isSelected": false,
          "code": "face"
        },
        {
          "id": "d84c392f-0c05-4376-ae7f-237e727d83aA",
          "text": "Finger",
          "type": "BODY_PART",
          "isSelected": false,
          "code": "fingers"
        },
        {
          "id": "5c75bd6e-b698-40a0-9c23-ca0e35cadcca",
          "text": "Foot",
          "type": "BODY_PART",
          "isSelected": false,
          "code": "feet"
        },
        {
          "id": "09a894fe-a154-404d-a408-2d7a0f8f736e",
          "text": "Forearm",
          "type": "BODY_PART",
          "isSelected": false,
          "code": "forearm"
        },
        {
          "id": "5fdbb273-84f9-418c-8956-a960383d70cc",
          "text": "Genitalia",
          "type": "BODY_PART",
          "isSelected": false,
          "code": "genitals"
        },
        {
          "id": "49998dd9-491a-4ea3-ae60-5c48b2f0626a",
          "text": "Hand",
          "type": "BODY_PART",
          "isSelected": false,
          "code": "hands"
        },
        {
          "id": "032247a1-65c0-4eaf-8b09-71ef76eefaaa",
          "text": "Head",
          "type": "BODY_PART",
          "isSelected": false,
          "code": "head"
        },
        {
          "id": "c3dbf2f6-26da-4473-a946-4df9a9925fb6",
          "text": "Heel",
          "type": "BODY_PART",
          "isSelected": false,
          "code": "heel"
        },
        {
          "id": "d84c392f-0c05-4376-ae7f-237e727d83a5",
          "text": "Hip",
          "type": "BODY_PART",
          "isSelected": false,
          "code": "hip"
        },
        {
          "id": "952cbd65-0c88-4e21-bc59-5c6a7911365f",
          "text": "Knee",
          "type": "BODY_PART",
          "isSelected": false,
          "code": "knee"
        },
        {
          "id": "253d7b60-b178-4cfc-850f-0ef5f8ad09a7",
          "text": "Lower back",
          "type": "BODY_PART",
          "isSelected": false,
          "code": "lowerback"
        },
        {
          "id": "f4288391-0ee6-4f45-8826-adf796ff8ecb",
          "text": "Lower leg",
          "type": "BODY_PART",
          "isSelected": false,
          "code": "lowerleg"
        },
        {
          "id": "6805ab57-ff41-4318-a525-c24fa9a9a6dc",
          "text": "Mouth",
          "type": "BODY_PART",
          "isSelected": false,
          "code": "mouth"
        },
        {
          "id": "b4768dcb-3e7a-499a-b3d8-7582f1930da7",
          "text": "Nape",
          "type": "BODY_PART",
          "isSelected": false,
          "code": "nape"
        },
        {
          "id": "15398f45-1491-4d70-af59-c0a909720fd4",
          "text": "Nose",
          "type": "BODY_PART",
          "isSelected": false,
          "code": "nose"
        },
        {
          "id": "ceec19ab-0a1f-4ee7-b785-34e3bd054059",
          "text": "Occiput",
          "type": "BODY_PART",
          "isSelected": false,
          "code": "occiput"
        },
        {
          "id": "6ed6c611-4fdb-48ec-8210-07ae14757728",
          "text": "Shoulder",
          "type": "BODY_PART",
          "isSelected": false,
          "code": "shoulders"
        },
        {
          "id": "fd06fdd8-e252-4fe3-af67-0c43480f8c0D",
          "text": "Spine",
          "type": "BODY_PART",
          "isSelected": false,
          "code": "spine"
        },
        {
          "id": "571c5578-a581-4431-8629-2a559627a6a9",
          "text": "Thighs",
          "type": "BODY_PART",
          "isSelected": false,
          "code": "thigh"
        },
        {
          "id": "fd06fdd8-e252-4fe3-af67-0c43480f8c09",
          "text": "Thorax",
          "type": "BODY_PART",
          "isSelected": true,
          "code": "chest"
        },
        {
          "id": "22d4e379-bfdb-4f24-af65-0c209db26aeb",
          "text": "Throat",
          "type": "BODY_PART",
          "isSelected": false,
          "code": "throat"
        },
        {
          "id": "fc56bd7f-5f33-4a64-9741-cf57b6b8bcfC",
          "text": "Toe",
          "type": "BODY_PART",
          "isSelected": false,
          "code": "toes"
        },
        {
          "id": "69126401-61e4-4dad-8cc1-ed0a0483110b",
          "text": "Upper arm",
          "type": "BODY_PART",
          "isSelected": false,
          "code": "upperarm"
        },
        {
          "id": "f4288391-0ee6-4f45-8826-adf796ff8ecB",
          "text": "Wrist",
          "type": "BODY_PART",
          "isSelected": false,
          "code": "wrist"
        }
      ]
    }
  },
  {
    "id": "f629d545-fbd1-4b37-b6a2-e47eb3866f5c",
    "text": "Does your skin also hurt or itch at the affected area?",
    "isSkippable": true,
    "isAnswered": true,
    "type": "SINGLE_SELECT",
    "detailedType": "SYMPTOM_SURVEY",
    "checkStateInfo": {
      "detailedState": "MAIN_SYMPTOM_SURVEY",
      "state": "MAIN_SYMPTOM"
    },
    "detailedTypeData": {
      "linkedSymptom": {
        "id": "8c2a36c5-b071-4a49-845d-75c496950212",
        "name": "Reddening of the skin"
      }
    },
    "options": {
      "count": 3,
      "values": [
        {
          "id": "6ed0e164-c981-4733-a33d-9705ce513386",
          "text": "Itchy",
          "type": "SURVEY_ANSWER",
          "isSelected": false
        },
        {
          "id": "c63624bf-c520-452c-a4d4-57d4e6bc96e7",
          "text": "Painful",
          "type": "SURVEY_ANSWER",
          "isSelected": false
        },
        {
          "id": "f59610c3-3547-476a-a40e-75affe0618c3",
          "text": "Neither of the two",
          "type": "SURVEY_ANSWER",
          "isSelected": false
        }
      ]
    }
  },
  {
    "id": "e05fc7ce-5cd4-49e5-900f-9872016c1aac",
    "text": "I am going to suggest additional symptoms now",
    "isSkippable": true,
    "isAnswered": true,
    "type": "INFO",
    "detailedType": "PROGRESS",
    "checkStateInfo": {
      "detailedState": "SYMPTOM_SUGGESTION_INFO",
      "state": "SYMPTOM_SUGGESTIONS"
    },
    "detailedTypeData": {
      "currentStep": 2,
      "numberOfSteps": 3,
      "progress": 0.4,
      "title": "Accompanying Symptoms"
    }
  },
  {
    "id": "3070406c-8331-4429-a8a4-ef29b76a56c2",
    "text": "Which other symptoms are you experiencing?",
    "isSkippable": true,
    "isAnswered": true,
    "type": "EXTENDING",
    "detailedType": "SYMPTOM_SUGGESTION",
    "checkStateInfo": {
      "detailedState": "SYMPTOM_SUGGESTION_1",
      "state": "SYMPTOM_SUGGESTIONS"
    },
    "options": {
      "count": 9,
      "values": [
        {
          "id": "94057df2-51bb-46a1-88c8-07c9d69871c8",
          "text": "Swelling of the skin",
          "type": "SYMPTOM",
          "shortDescription": "Superficial swelling of the skin",
          "description": "Superficial swelling of the skin, which can be accompanied by itching and redness",
          "isSelected": false
        },
        {
          "id": "4bf98810-a8cb-4d10-80b2-a3c437dc825f",
          "text": "Itching",
          "type": "SYMPTOM",
          "shortDescription": "Desire to scratch the skin",
          "description": "A discomfort of the skin that triggers a desire to scratch or rub the affected area",
          "isSelected": true
        },
        {
          "id": "96735730-cd03-497d-ad66-02e8533ea699",
          "text": "Tingling sensation",
          "type": "SYMPTOM",
          "shortDescription": "Tingling sensations of the skin",
          "description": "A sensation of the skin, which resembles the feeling of small needle sticks.",
          "isSelected": false
        },
        {
          "id": "3416dc71-b330-4b85-bc21-ef33ba0b3369",
          "text": "Headache",
          "type": "SYMPTOM",
          "shortDescription": "Deep pain sensation in the head",
          "description": "Pain in the area of the head that can have various manifestations and is often accompanied by other symptoms such as dizziness, sensitivity to light and nausea",
          "isSelected": false
        },
        {
          "id": "13fcf30f-1867-4aeb-afe4-3b2164ce0f4e",
          "text": "Skin burning",
          "type": "SYMPTOM",
          "shortDescription": "Burning pain of the skin",
          "description": "A burning sensation on the skin, often accompanied by redness of the affected area.",
          "isSelected": false
        },
        {
          "id": "df8505a4-9f2a-4eed-af4c-8358327630de",
          "text": "Rash",
          "type": "SYMPTOM",
          "shortDescription": "Sudden skin changes",
          "description": "Sudden skin changes such as stains, scales or blisters.",
          "isSelected": false
        },
        {
          "id": "67181a30-0441-45b7-bf82-38130b9c2cca",
          "text": "Fever",
          "type": "SYMPTOM",
          "shortDescription": "An elevated body temperature above 37°C",
          "description": "An elevated body temperature above 37°C.",
          "isSelected": false
        },
        {
          "id": "b5e7271f-013c-4764-8e81-77dd5ea514ab",
          "text": "Accelerated heartbeat",
          "type": "SYMPTOM",
          "shortDescription": "A pulse higher than 100",
          "description": "A permanent pulse increase to over 100 heartbeats per minute.",
          "isSelected": false
        },
        {
          "id": "86181145-376a-47ec-9a00-f84d4bc3d15d",
          "text": "Nausea",
          "type": "SYMPTOM",
          "shortDescription": "The feeling of having to throw up",
          "description": "An unpleasant feeling in the upper abdomen, usually accompanied by loss of appetite and an urge to vomit",
          "isSelected": false
        }
      ]
    }
  }
]