Skip to main content

LabTest

Lab Test Serializer

clientIdstringnullable

Possible values: <= 255 characters

applicantIdstringnullable

Possible values: <= 255 characters

testTypestringrequired

Possible values: <= 255 characters

testFormstringrequired

Possible values: <= 255 characters

purchaseOrdersstring[]nullable

Possible values: <= 255 characters

testServicesstring[]nullable
expectedCompletionDatedatenullable
productionDatedatenullable
billingInformation objectnullable
localOrganizationIdstringnullable

Possible values: <= 255 characters

namestringnullable

Possible values: <= 255 characters

Default value:
addressstringnullable

Possible values: <= 255 characters

Default value:
citystringnullable

Possible values: <= 255 characters

Default value:
countrystringnullable

Possible values: <= 255 characters

Default value:
postalstringnullable

Possible values: <= 255 characters

Default value:
provincestringnullable

Possible values: <= 255 characters

Default value:
contacts object[]nullable
  • Array [
  • namestringnullable

    Possible values: <= 255 characters

    Default value:
    emailstringnullable

    Possible values: <= 255 characters

    Default value:
    telephoneNumberstringnullable

    Possible values: <= 80 characters

    Default value:
    mobileNumberstringnullable

    Possible values: <= 80 characters

    Default value:
  • ]
  • tierintegernullable

    Possible values: >= 1 and <= 3

    labTestAgency objectnullable
    localOrganizationIdstringnullable

    Possible values: <= 255 characters

    namestringnullable

    Possible values: <= 255 characters

    Default value:
    addressstringnullable

    Possible values: <= 255 characters

    Default value:
    citystringnullable

    Possible values: <= 255 characters

    Default value:
    countrystringnullable

    Possible values: <= 255 characters

    Default value:
    postalstringnullable

    Possible values: <= 255 characters

    Default value:
    provincestringnullable

    Possible values: <= 255 characters

    Default value:
    contacts object[]nullable
  • Array [
  • namestringnullable

    Possible values: <= 255 characters

    Default value:
    emailstringnullable

    Possible values: <= 255 characters

    Default value:
    telephoneNumberstringnullable

    Possible values: <= 80 characters

    Default value:
    mobileNumberstringnullable

    Possible values: <= 80 characters

    Default value:
  • ]
  • tierintegernullable

    Possible values: >= 1 and <= 3

    retailerBrand objectnullable
    localOrganizationIdstringnullable

    Possible values: <= 255 characters

    namestringnullable

    Possible values: <= 255 characters

    Default value:
    addressstringnullable

    Possible values: <= 255 characters

    Default value:
    citystringnullable

    Possible values: <= 255 characters

    Default value:
    countrystringnullable

    Possible values: <= 255 characters

    Default value:
    postalstringnullable

    Possible values: <= 255 characters

    Default value:
    provincestringnullable

    Possible values: <= 255 characters

    Default value:
    contacts object[]nullable
  • Array [
  • namestringnullable

    Possible values: <= 255 characters

    Default value:
    emailstringnullable

    Possible values: <= 255 characters

    Default value:
    telephoneNumberstringnullable

    Possible values: <= 80 characters

    Default value:
    mobileNumberstringnullable

    Possible values: <= 80 characters

    Default value:
  • ]
  • tierintegernullable

    Possible values: >= 1 and <= 3

    factories object[]nullable
  • Array [
  • localOrganizationIdstringnullable

    Possible values: <= 255 characters

    namestringnullable

    Possible values: <= 255 characters

    Default value:
    addressstringnullable

    Possible values: <= 255 characters

    Default value:
    citystringnullable

    Possible values: <= 255 characters

    Default value:
    countrystringnullable

    Possible values: <= 255 characters

    Default value:
    postalstringnullable

    Possible values: <= 255 characters

    Default value:
    provincestringnullable

    Possible values: <= 255 characters

    Default value:
    contacts object[]nullable
  • Array [
  • namestringnullable

    Possible values: <= 255 characters

    Default value:
    emailstringnullable

    Possible values: <= 255 characters

    Default value:
    telephoneNumberstringnullable

    Possible values: <= 80 characters

    Default value:
    mobileNumberstringnullable

    Possible values: <= 80 characters

    Default value:
  • ]
  • tierintegernullable

    Possible values: >= 1 and <= 3

  • ]
  • suppliers object[]nullable
  • Array [
  • localOrganizationIdstringnullable

    Possible values: <= 255 characters

    namestringnullable

    Possible values: <= 255 characters

    Default value:
    addressstringnullable

    Possible values: <= 255 characters

    Default value:
    citystringnullable

    Possible values: <= 255 characters

    Default value:
    countrystringnullable

    Possible values: <= 255 characters

    Default value:
    postalstringnullable

    Possible values: <= 255 characters

    Default value:
    provincestringnullable

    Possible values: <= 255 characters

    Default value:
    contacts object[]nullable
  • Array [
  • namestringnullable

    Possible values: <= 255 characters

    Default value:
    emailstringnullable

    Possible values: <= 255 characters

    Default value:
    telephoneNumberstringnullable

    Possible values: <= 80 characters

    Default value:
    mobileNumberstringnullable

    Possible values: <= 80 characters

    Default value:
  • ]
  • tierintegernullable

    Possible values: >= 1 and <= 3

  • ]
  • items object[]required
  • Array [
  • itemIdstringrequired

    Possible values: <= 255 characters

    styleIdstringrequired

    Possible values: <= 255 characters

    colorstringnullable

    Possible values: <= 255 characters

    Default value:
    sampleSizeintegernullable
    unitstringnullable

    Possible values: <= 255 characters

    Default value:
  • ]
  • remarksstring[]nullable

    Possible values: <= 255 characters

    stageOfTestingstring[]nullable

    Possible values: <= 255 characters

    sampleReceiptDatedatenullable

    Date when sample was received (required for creating a completed lab test)

    reportIssueDatedatenullable

    Date when report was issued (required for creating a completed lab test)

    reportNumberstringnullable

    Report number (required for creating a completed lab test)

    originalReportNumberstringnullable

    Original report number (required for creating a completed lab test)

    revisionNumberintegernullable

    Revision number (required for creating a completed lab test)

    Possible values: >= 0

    Default value: 0
    testPackages object[]nullable

    Test packages

  • Array [
  • idstringrequired

    Possible values: <= 255 characters

    namestringnullable

    Possible values: <= 255 characters

    Default value:
  • ]
  • testProperties object[]nullable

    Test properties (required for creating a completed lab test)

  • Array [
  • idstringrequired

    Possible values: <= 255 characters

    namestringrequired

    Possible values: <= 255 characters

    testPackageIdstringnullable

    Possible values: <= 255 characters

    Default value:
    testCategoryIdstringnullable

    Possible values: <= 255 characters

    testSubcategoryIdstringnullable

    Possible values: <= 255 characters

    resultResultEnum (string)required
    • pass - Pass
    • fail - Fail
    • data - Data
    • na - N/A

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

    reviewResultstringnullable
    items object[]nullable
  • Array [
  • itemIdstringnullable
    testConditions object[]nullable
  • Array [
  • idstringnullable
    namestringnullable
    resultResultEnum (string)nullable
    • pass - Pass
    • fail - Fail
    • data - Data
    • na - N/A

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

    samples object[]nullable
  • Array [
  • datastringnullable
    resultstringrequired

    Possible values: [pass, fail, data]

    sampleNumbersinteger[]required
  • ]
  • followUpAction objectnullable
    commentstringnullable
    attachments object[]nullable
  • Array [
  • fileIduuidrequired
    labelstringnullable
  • ]
  • failureCategoryIdstringnullable
    failureCategoryNamestringnullable
    failureIdstringnullable
    failureNamestringnullable
    failureSeveritystringnullable

    Possible values: [critical, major, minor]

  • ]
  • ]
  • ]
  • overallResult objectnullable

    Overall test result (required for creating a completed lab test)

    resultResultEnum (string)required
    • pass - Pass
    • fail - Fail
    • data - Data
    • na - N/A

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

    reviewResultstringnullable

    Possible values: <= 255 characters

    attachments object[]nullable

    Attached files for Test Report (type "testReport") or General Lab Test Information (type "others").

  • Array [
  • fileIdstringrequired

    Possible values: <= 64 characters

    typeTypeEnum (string)required
    • testReport - testReport
    • others - others

    Possible values: [testReport, others]

    labelstringnullable

    Possible values: <= 255 characters

    Default value:
  • ]
  • LabTest
    {
    "clientId": "string",
    "applicantId": "string",
    "testType": "string",
    "testForm": "string",
    "purchaseOrders": [
    "string"
    ],
    "testServices": [
    "string"
    ],
    "expectedCompletionDate": "2024-07-29",
    "productionDate": "2024-07-29",
    "billingInformation": {
    "localOrganizationId": "string",
    "name": "string",
    "address": "string",
    "city": "string",
    "country": "string",
    "postal": "string",
    "province": "string",
    "contacts": [
    {
    "name": "string",
    "email": "string",
    "telephoneNumber": "string",
    "mobileNumber": "string"
    }
    ],
    "tier": 0
    },
    "labTestAgency": {
    "localOrganizationId": "string",
    "name": "string",
    "address": "string",
    "city": "string",
    "country": "string",
    "postal": "string",
    "province": "string",
    "contacts": [
    {
    "name": "string",
    "email": "string",
    "telephoneNumber": "string",
    "mobileNumber": "string"
    }
    ],
    "tier": 0
    },
    "retailerBrand": {
    "localOrganizationId": "string",
    "name": "string",
    "address": "string",
    "city": "string",
    "country": "string",
    "postal": "string",
    "province": "string",
    "contacts": [
    {
    "name": "string",
    "email": "string",
    "telephoneNumber": "string",
    "mobileNumber": "string"
    }
    ],
    "tier": 0
    },
    "factories": [
    {
    "localOrganizationId": "string",
    "name": "string",
    "address": "string",
    "city": "string",
    "country": "string",
    "postal": "string",
    "province": "string",
    "contacts": [
    {
    "name": "string",
    "email": "string",
    "telephoneNumber": "string",
    "mobileNumber": "string"
    }
    ],
    "tier": 0
    }
    ],
    "suppliers": [
    {
    "localOrganizationId": "string",
    "name": "string",
    "address": "string",
    "city": "string",
    "country": "string",
    "postal": "string",
    "province": "string",
    "contacts": [
    {
    "name": "string",
    "email": "string",
    "telephoneNumber": "string",
    "mobileNumber": "string"
    }
    ],
    "tier": 0
    }
    ],
    "items": [
    {
    "itemId": "string",
    "styleId": "string",
    "color": "string",
    "sampleSize": 0,
    "unit": "string"
    }
    ],
    "remarks": [
    "string"
    ],
    "stageOfTesting": [
    "string"
    ],
    "sampleReceiptDate": "2024-07-29",
    "reportIssueDate": "2024-07-29",
    "reportNumber": "string",
    "originalReportNumber": "string",
    "revisionNumber": 0,
    "testPackages": [
    {
    "id": "string",
    "name": "string"
    }
    ],
    "testProperties": [
    {
    "id": "string",
    "name": "string",
    "testPackageId": "string",
    "testCategoryId": "string",
    "testSubcategoryId": "string",
    "result": "pass",
    "reviewResult": "string",
    "items": [
    {
    "itemId": "string",
    "testConditions": [
    {
    "id": "string",
    "name": "string",
    "result": "pass",
    "samples": [
    {
    "data": "string",
    "result": "pass",
    "sampleNumbers": [
    0
    ]
    }
    ],
    "followUpAction": {
    "comment": "string",
    "attachments": [
    {
    "fileId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "label": "string"
    }
    ],
    "failureCategoryId": "string",
    "failureCategoryName": "string",
    "failureId": "string",
    "failureName": "string",
    "failureSeverity": "critical"
    }
    }
    ]
    }
    ]
    }
    ],
    "overallResult": {
    "result": "pass",
    "reviewResult": "string"
    },
    "attachments": [
    {
    "fileId": "string",
    "type": "testReport",
    "label": "string"
    }
    ]
    }