Skip to main content

BaseLabTestDetailResponseInfix

questionnaire object
forTestCreation object[]

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"]
  • ]
  • forTestExecution object[]

    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"]
  • ]
  • attachments object
    generalInformation object[]
  • Array [
  • namestring
    urlstring
  • ]
  • testResult object[]
  • Array [
  • namestring
    urlstring
  • ]
  • questionnaire object[]
  • Array [
  • namestring
    urlstring
  • ]
  • activity object[]
  • Array [
  • namestring
    urlstring
  • ]
  • followUpAction object[]
  • Array [
  • namestring
    urlstring
  • ]
  • sampleReceiptDatestring<date>

    Sample receipt date

    Example: 2024-01-10
    reportIssueDatestring<date>

    Report issue date

    Example: 2024-01-15
    reportNumberstring

    Report number

    Example: RPT-2024-001
    originalReportNumberstring

    Original report number

    Example: RPT-2024-001
    revisionNumberinteger

    Revision number

    Example: 0
    testPackages object[]

    Test packages

  • Array [
  • idstring

    Test package id

    Example: TP-2024-001
    namestring

    Test package name

    Example: Chemical Test Package
    typestringnullable

    Test package type

  • ]
  • BaseLabTestDetailResponseInfix
    {
    "questionnaire": {
    "forTestCreation": [
    {
    "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"
    }
    ]
    }
    ]
    }
    ],
    "forTestExecution": [
    {
    "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"
    }
    ]
    }
    ]
    }
    ]
    },
    "attachments": {
    "generalInformation": [
    {
    "name": "string",
    "url": "string"
    }
    ],
    "testResult": [
    {
    "name": "string",
    "url": "string"
    }
    ],
    "questionnaire": [
    {
    "name": "string",
    "url": "string"
    }
    ],
    "activity": [
    {
    "name": "string",
    "url": "string"
    }
    ],
    "followUpAction": [
    {
    "name": "string",
    "url": "string"
    }
    ]
    },
    "sampleReceiptDate": "2024-01-10",
    "reportIssueDate": "2024-01-15",
    "reportNumber": "RPT-2024-001",
    "originalReportNumber": "RPT-2024-001",
    "revisionNumber": 0,
    "testPackages": [
    {
    "id": "TP-2024-001",
    "name": "Chemical Test Package",
    "type": "string"
    }
    ]
    }