Skip to main content

QuestionnaireObject

Answered questions, one entry per integrationKey. Every entry carries integrationKey and type; type selects one of six entry shapes, which is what values looks like and whether headers is present:

  • Array [
  • oneOf

    Free-text, numeric or single-column answer.

    integrationKeystring
    Example: sampleCondition
    typestring

    Possible values: [string]

    Example: string
    valuesstring[]

    One entry per answered field. Numbers are returned as strings.

    Example: ["Dry"]
  • ]
  • QuestionnaireObject
    [
    {
    "integrationKey": "sampleCondition",
    "type": "string",
    "values": [
    "Dry"
    ]
    },
    {
    "integrationKey": "sampleReceivedDate",
    "type": "date",
    "values": [
    "2026-08-01"
    ]
    },
    {
    "integrationKey": "sampleImages",
    "type": "attachment",
    "values": [
    {
    "name": "sample_front.jpg",
    "url": "https://cdn.inspectorio.com/files/sample_front.jpg"
    }
    ]
    },
    {
    "integrationKey": "countryOfOrigin",
    "type": "country",
    "values": [
    "VN"
    ]
    },
    {
    "integrationKey": "measurementResults",
    "type": "table",
    "headers": [
    "size",
    "spec",
    "actual"
    ],
    "values": [
    [
    "S",
    "10cm",
    "10.1cm"
    ],
    [
    "M",
    "12cm",
    "12.3cm"
    ]
    ]
    },
    {
    "integrationKey": "relatedTests",
    "type": "linkedTest",
    "values": [
    {
    "uuid": "9c8d7f6e-0000-4a5b-9c8d-eeeeeeeeeeee",
    "caseNumber": "5229",
    "labTestId": "LT0AB12345",
    "reportNumber": "RPT-2026-001",
    "reportIssueDate": "2026-07-15",
    "status": "completed",
    "type": "Physical Test",
    "linkedTestAttachments": [
    {
    "name": "report.pdf",
    "url": "https://cdn.inspectorio.com/files/report.pdf"
    }
    ]
    }
    ]
    }
    ]