Skip to main content

Question1

defaultSubQuestions object[]

List of recursive questions from "questionnaire"

description string

Description of the question

Example: Shipment readiness
freeTextAnswer string

Free text answer for the question

Example: Not good but acceptable
id stringrequired

Unique identifier of a question

Example: abc-123
options object[]

List of answering options

  • Array [
  • id string

    Unique identifier of the option

    otherOptionText string

    Other option text

    Example: Acceptable
    questions object[]

    List of recursive questions from "questionnaire"

    selected boolean

    Indicate whether this option is selected or not

    Example: true
    text string

    Preset answer in text

    Example: Yes
  • ]
  • questionType stringrequired

    Question type e.g single select, multiple select

    Example: single select
    responseId string

    Unique identifier of a response

    Example: 1a2b3c
    validation objectrequired

    Question validation

    mandatory booleanrequired

    Indicate if the question is mandatory or not

    Example: true
    Question1
    {
    "defaultSubQuestions": [
    {}
    ],
    "description": "Shipment readiness",
    "freeTextAnswer": "Not good but acceptable",
    "id": "abc-123",
    "options": [
    {
    "id": "string",
    "otherOptionText": "Acceptable",
    "questions": [
    {}
    ],
    "selected": "true",
    "text": "Yes"
    }
    ],
    "questionType": "single select",
    "responseId": "1a2b3c",
    "validation": {
    "mandatory": "true"
    }
    }