Take an Assessment
↙️ Continue Assessment Response Format
The Response of the Continue Assessment API contains the next question to be asked to the user. The response contains the fields based on question components: various components in the response are as follows:
Component Code | Description of the Component |
---|---|
I-ATSG | An ‘autosuggest group’ component displays matching suggestions as the user types, allowing quick selections from possible options. |
I-ATSS | An ‘Autosuggest Single’ component where only a single value can be selected by the user |
I-RADO | A ‘single-select’ component allows the user to choose one option from a predefined list. |
I-MULT | A ‘multi-select’ component allows the user to choose multiple options from a predefined list. |
I-RADG | A ‘radiogroup’ component is a group of sub questions where each question is mandatorily associated with a |
Response Format
The response contains the following fields:
- questions: List of questions
- qid: Question ID
- component_code: Component code
- question_text: Question text
- tip: Tip for the user
- component_data: Component specific data. Refer to the below section for more details
- is_mandatory: True/False to show whether the question is mandatory to answer or not
- progress: Progress of the assessment
- is_last_question: True/False to show whether the question is the last question or not
Component Data For Each Component Types
component_data for I-ATSG
Example of entire question for I-ATSG
Please refer to the List Component API to get the request and response formats of each component with their json schema to validate your data against.