Skip to main content

InspectionQuestions

groupId string

Unique identifier of the group of question

Example: 7384b63c-bc99-43f0-b1b5-600959220e19_1e601f70-3c65-4ea8-931f-4976b9c91b3a
inspectionId string

Unique identifier of the report

Example: abcd1234-ab12-ab12-ab12-abcd1234efgh4568
label string

Label of the question

Example: Do we need to pull a Green sealed sample?
options object[]

Options available to answer the question

  • Array [
  • actions object[]

    List of actions per question

  • Array [
  • action string

    Action the inspector can/needs to take when responding to the question

    Example: request_picture
    value

    Information related to the action of the question, e.g. Is Mandatory

    Example: mandatory
  • ]
  • failResponse boolean

    Boolean indicating whether the option, if selected, will make the overall inspection result fail

    Example: false
    id string

    Unique identifier of the option

    Example: chk__97
    selected boolean

    Boolean indicating whether the option has been selected

    Example: true
    value string

    Label of the option displayed to the user

    Example: YES
  • ]
  • organizationId string

    Unique identifier of the organization

    Example: null
    questionId string

    Unique identifier of the question

    Example: 7384b63c-bc99-43f0-b1b5-600959220e19_5689d212-b001-4ad2-89c7-2c39654d4cc3_SyJivf3CA
    type string

    Type of the question

    Example: null
    InspectionQuestions
    {
    "groupId": "7384b63c-bc99-43f0-b1b5-600959220e19_1e601f70-3c65-4ea8-931f-4976b9c91b3a",
    "inspectionId": "abcd1234-ab12-ab12-ab12-abcd1234efgh4568",
    "label": "Do we need to pull a Green sealed sample?",
    "options": [
    {
    "actions": [
    {
    "action": "request_picture",
    "value": "mandatory"
    }
    ],
    "failResponse": "false",
    "id": "chk__97",
    "selected": "true",
    "value": "YES"
    }
    ],
    "organizationId": "null",
    "questionId": "7384b63c-bc99-43f0-b1b5-600959220e19_5689d212-b001-4ad2-89c7-2c39654d4cc3_SyJivf3CA",
    "type": "null"
    }