Skip to main content

LabTestDetailPropertyForMaterial

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
materials object[]
  • Array [
  • 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
  • ]
  • materialIdstring
  • ]
  • LabTestDetailPropertyForMaterial
    {
    "id": "TP001",
    "name": "Color Fastness to Washing",
    "testPackageId": "TPK001",
    "testCategoryId": "TC001",
    "testCategoryName": "Physical Tests",
    "testSubCategoryId": "TSC001",
    "testSubCategoryName": "Color Fastness",
    "materials": [
    {
    "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"
    }
    }
    ],
    "materialId": "string"
    }
    ]
    }