Skip to main content

LabTestDetailResponse

data object
oneOf
uuidstring

Lab test uuid

Example: 97187b64-81ef-4dfa-9681-9da71fb43b63
caseNumberstring

Lab test case number

labTestIdstring

Lab test id

Example: LT0DQFRX19
testTypestring

Lab test type

testFormIdstring

Test form ID

Example: TF-2024-001
testFormNamestring

Test form name

Example: Chemical Test Form
statusLabTestStatusEnum (string)
  • new - New
  • draft - Draft
  • confirmed - Confirmed
  • in-progress - In Progress
  • submitted - Submitted
  • completed - Completed
  • submitted-pending-approval - Submitted Pending Approval
  • aborted - Aborted
  • rejected - Rejected
  • canceled - Canceled

Possible values: [new, draft, confirmed, in-progress, submitted, completed, submitted-pending-approval, aborted, rejected, canceled]

tagsstring[]

Lab test tags

testServicesstring[]

List of test services

stageOfTestingstring[]

Stages of testing

Example: ["Initial Production"]
expectedCompletionDatestring<date>

Expected completion date

Example: 2024-01-15
productionDatestring<date>

Production date

Example: 2024-01-10
remarksstring[]

Remarks and comments

Example: ["Sample meets all requirements"]
creatorstring

Creator org

receiverstring

Receiver org

executorstring

Executor org

brandRetailer object
namestring

Org name

addressstring

Address

citystring

City

countrystring

Country

provincestring

Province

postalstring

Postal

contacts object[]
  • Array [
  • namestring

    Contact name

    emailstring

    Contact email

    telephoneNumberstring

    Contact telephone number

    mobileNumberstring

    Contact mobile number

  • ]
  • localOrganizationIdstring

    Local org id

    localOrganizationNamestring

    Local org name

    suppliers object[]
  • Array [
  • namestring

    Org name

    addressstring

    Address

    citystring

    City

    countrystring

    Country

    provincestring

    Province

    postalstring

    Postal

    contacts object[]
  • Array [
  • namestring

    Contact name

    emailstring

    Contact email

    telephoneNumberstring

    Contact telephone number

    mobileNumberstring

    Contact mobile number

  • ]
  • localOrganizationIdstring

    Local org id

    localOrganizationNamestring

    Local org name

    tierstring

    Org tier

  • ]
  • factories object[]
  • Array [
  • namestring

    Org name

    addressstring

    Address

    citystring

    City

    countrystring

    Country

    provincestring

    Province

    postalstring

    Postal

    contacts object[]
  • Array [
  • namestring

    Contact name

    emailstring

    Contact email

    telephoneNumberstring

    Contact telephone number

    mobileNumberstring

    Contact mobile number

  • ]
  • localOrganizationIdstring

    Local org id

    localOrganizationNamestring

    Local org name

    tierstring

    Org tier

  • ]
  • labAgency object
    namestring

    Org name

    addressstring

    Address

    citystring

    City

    countrystring

    Country

    provincestring

    Province

    postalstring

    Postal

    contacts object[]
  • Array [
  • namestring

    Contact name

    emailstring

    Contact email

    telephoneNumberstring

    Contact telephone number

    mobileNumberstring

    Contact mobile number

  • ]
  • localOrganizationIdstring

    Local org id

    localOrganizationNamestring

    Local org name

    billingInformation object
    namestring

    Org name

    addressstring

    Address

    citystring

    City

    countrystring

    Country

    provincestring

    Province

    postalstring

    Postal

    contacts object[]
  • Array [
  • namestring

    Contact name

    emailstring

    Contact email

    telephoneNumberstring

    Contact telephone number

    mobileNumberstring

    Contact mobile number

  • ]
  • purchaseOrdersstring[]

    Purchase order numbers

    Example: ["PO-2024-001","PO-2024-002"]
    productTypestring

    Product type

    Possible values: [Item, Style, Material]

    items object[]
  • Array [
  • itemIdstring

    Item id

    itemNamestring

    Item name

    itemDescriptionstring

    Item description

    styleIdstring

    Item's style id

    styleNamestring

    Item's style name

    colorstring

    Item color

    sizestring

    Item size

    originCountrystring[]

    Item origin country, iso alpha-2 country code

    productLine object
    productLineIdstring

    Item's product line custom id

    namestring

    Item's product line name

    productCategory object
    productCategoryIdstring

    Item's product category custom id

    namestring

    Item's product category name

    group object
    groupIdstring

    Item's group custom id

    namestring

    Item's group name

    division object
    divisionIdstring

    Item's division custom id

    namestring

    Item's division name

    department object
    departmentIdstring

    Item's department custom id

    namestring

    Item's department name

    class object
    classIdstring

    Item's class custom id

    namestring

    Item's class name

    brand object
    brandIdstring

    Item's brand custom id

    namestring

    Item's brand name

    additionalFields object[]

    Additional fields

  • Array [
  • integrationKeystring

    Integration key

    valuestring[]

    Values

  • ]
  • sampleSizeinteger

    Sample size

    unitstring

    Unit

  • ]
  • questionnaire object
    forTestCreation object[]
  • Array [
  • integrationKeystring
    typestring

    Possible values: [string, date, attachment, country, table]

    valuesstring[]
  • ]
  • forTestExecution object[]
  • Array [
  • integrationKeystring
    typestring

    Possible values: [string, date, attachment, country, table]

    valuesstring[]
  • ]
  • 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

  • ]
  • testProperties object[]
  • Array [
  • idstring

    Test property ID

    Example: TP001
    namestring

    Test property name

    Example: Color Fastness to Washing
    testPackageIdstring

    Test package ID

    Example: TPK001
    testCategoryIdstring

    Test category ID

    Example: TC001
    testCategoryNamestring

    Test category name

    Example: Physical Tests
    testSubcategoryIdstring

    Test subcategory ID

    Example: TSC001
    testSubcategoryNamestring

    Test subcategory name

    Example: Color Fastness
    resultResultEnum (string)
    • pass - Pass
    • fail - Fail
    • data - Data
    • na - N/A

    Possible values: [pass, fail, data, na]

    Example: pass
    reviewResultstringnullable
    Example: pass
    items object[]
  • Array [
  • itemIdstring
    testConditions object[]
  • Array [
  • idstring

    Test condition ID

    Example: TC001
    namestring

    Test condition name

    Example: Color Change
    resultResultEnum (string)
    • pass - Pass
    • fail - Fail
    • data - Data
    • na - N/A

    Possible values: [pass, fail, data, na]

    Example: pass
    samples object[]
  • Array [
  • datastring

    Sample data

    Example: Grade 4-5
    resultResultEnum (string)
    • pass - Pass
    • fail - Fail
    • data - Data
    • na - N/A

    Possible values: [pass, fail, data, na]

    Example: pass
    sampleNumbersinteger[]

    Sample numbers

    Example: [1,2,3]
  • ]
  • followUpAction object
    commentstring

    Follow-up action comment

    Example: No action required
    attachments object[]
  • Array [
  • namestring

    Attachment name

    Example: test-report.pdf
    urlstring

    Attachment URL

    Example: https://example.com/files/test-report.pdf
    labelstringnullable

    Attachment label

    Example: Test Report
  • ]
  • failureCategoryIdstringnullable

    Failure category ID

    Example: null
    failureCategoryNamestringnullable

    Failure category name

    Example: null
    failureIdstringnullable

    Failure ID

    Example: null
    failureNamestringnullable

    Failure name

    Example: null
    failureSeveritystringnullable

    Failure severity

    Possible values: [critical, major, minor]

    Example: critical
  • ]
  • ]
  • ]
  • overallResult object
    resultResultEnum (string)
    • pass - Pass
    • fail - Fail
    • data - Data
    • na - N/A

    Possible values: [pass, fail, data, na]

    Example: pass
    reviewResultstringnullable
    Example: pass
    createdAtstring

    created time

    Example: 2024-07-16T08:13:25Z
    updatedAtstring

    updated time

    Example: 2024-07-16T08:13:25Z
    LabTestDetailResponse
    {
    "data": {
    "uuid": "97187b64-81ef-4dfa-9681-9da71fb43b63",
    "caseNumber": "string",
    "labTestId": "LT0DQFRX19",
    "testType": "string",
    "testFormId": "TF-2024-001",
    "testFormName": "Chemical Test Form",
    "status": "new",
    "tags": [
    "string"
    ],
    "testServices": [
    "string"
    ],
    "stageOfTesting": [
    "Initial Production"
    ],
    "expectedCompletionDate": "2024-01-15",
    "productionDate": "2024-01-10",
    "remarks": [
    "Sample meets all requirements"
    ],
    "creator": "string",
    "receiver": "string",
    "executor": "string",
    "brandRetailer": {
    "name": "string",
    "address": "string",
    "city": "string",
    "country": "string",
    "province": "string",
    "postal": "string",
    "contacts": [
    {
    "name": "string",
    "email": "string",
    "telephoneNumber": "string",
    "mobileNumber": "string"
    }
    ],
    "localOrganizationId": "string",
    "localOrganizationName": "string"
    },
    "suppliers": [
    {
    "name": "string",
    "address": "string",
    "city": "string",
    "country": "string",
    "province": "string",
    "postal": "string",
    "contacts": [
    {
    "name": "string",
    "email": "string",
    "telephoneNumber": "string",
    "mobileNumber": "string"
    }
    ],
    "localOrganizationId": "string",
    "localOrganizationName": "string",
    "tier": "string"
    }
    ],
    "factories": [
    {
    "name": "string",
    "address": "string",
    "city": "string",
    "country": "string",
    "province": "string",
    "postal": "string",
    "contacts": [
    {
    "name": "string",
    "email": "string",
    "telephoneNumber": "string",
    "mobileNumber": "string"
    }
    ],
    "localOrganizationId": "string",
    "localOrganizationName": "string",
    "tier": "string"
    }
    ],
    "labAgency": {
    "name": "string",
    "address": "string",
    "city": "string",
    "country": "string",
    "province": "string",
    "postal": "string",
    "contacts": [
    {
    "name": "string",
    "email": "string",
    "telephoneNumber": "string",
    "mobileNumber": "string"
    }
    ],
    "localOrganizationId": "string",
    "localOrganizationName": "string"
    },
    "billingInformation": {
    "name": "string",
    "address": "string",
    "city": "string",
    "country": "string",
    "province": "string",
    "postal": "string",
    "contacts": [
    {
    "name": "string",
    "email": "string",
    "telephoneNumber": "string",
    "mobileNumber": "string"
    }
    ]
    },
    "purchaseOrders": [
    "PO-2024-001",
    "PO-2024-002"
    ],
    "productType": "Item",
    "items": [
    {
    "itemId": "string",
    "itemName": "string",
    "itemDescription": "string",
    "styleId": "string",
    "styleName": "string",
    "color": "string",
    "size": "string",
    "originCountry": [
    "string"
    ],
    "productLine": {
    "productLineId": "string",
    "name": "string"
    },
    "productCategory": {
    "productCategoryId": "string",
    "name": "string"
    },
    "group": {
    "groupId": "string",
    "name": "string"
    },
    "division": {
    "divisionId": "string",
    "name": "string"
    },
    "department": {
    "departmentId": "string",
    "name": "string"
    },
    "class": {
    "classId": "string",
    "name": "string"
    },
    "brand": {
    "brandId": "string",
    "name": "string"
    },
    "additionalFields": [
    {
    "integrationKey": "string",
    "value": [
    "string"
    ]
    }
    ],
    "sampleSize": 0,
    "unit": "string"
    }
    ],
    "questionnaire": {
    "forTestCreation": [
    {
    "integrationKey": "string",
    "type": "string",
    "values": [
    "string"
    ]
    }
    ],
    "forTestExecution": [
    {
    "integrationKey": "string",
    "type": "string",
    "values": [
    "string"
    ]
    }
    ]
    },
    "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"
    }
    ],
    "testProperties": [
    {
    "id": "TP001",
    "name": "Color Fastness to Washing",
    "testPackageId": "TPK001",
    "testCategoryId": "TC001",
    "testCategoryName": "Physical Tests",
    "testSubcategoryId": "TSC001",
    "testSubcategoryName": "Color Fastness",
    "result": "pass",
    "reviewResult": "pass",
    "items": [
    {
    "itemId": "string",
    "testConditions": [
    {
    "id": "TC001",
    "name": "Color Change",
    "result": "pass",
    "samples": [
    {
    "data": "Grade 4-5",
    "result": "pass",
    "sampleNumbers": [
    1,
    2,
    3
    ]
    }
    ],
    "followUpAction": {
    "comment": "No action required",
    "attachments": [
    {
    "name": "test-report.pdf",
    "url": "https://example.com/files/test-report.pdf",
    "label": "Test Report"
    }
    ],
    "failureCategoryId": null,
    "failureCategoryName": null,
    "failureId": null,
    "failureName": null,
    "failureSeverity": "critical"
    }
    }
    ]
    }
    ]
    }
    ],
    "overallResult": {
    "result": "pass",
    "reviewResult": "pass"
    },
    "createdAt": "2024-07-16T08:13:25Z",
    "updatedAt": "2024-07-16T08:13:25Z"
    }
    }