Skip to main content

LabTestDetailPropertyForStyle

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

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

Example: pass
reviewResultstringnullable
Example: pass
styles object[]
  • Array [
  • styleIdstring
    testConditions object[]
  • Array [
  • idstring

    Test condition ID

    Example: TC001
    namestring

    Test condition name

    Example: Color Change
    resultResultEnum

    Test condition result

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

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

    Sample data

    Example: Grade 4-5
    resultResultEnum

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

    Example: pass
    sampleNumbersinteger[]

    Sample numbers (1-based position of the sample within the Product). An entry is null when the reading was recorded by a sample name that no longer matches a sample of the Product.

    Example: [1,2,3]
    sampleNamesstring[]

    Names of the Product's samples this reading applies to, taken from the sampleName values the Product declares. Empty [] when the reading was recorded by sample number only. Otherwise index-aligned with sampleNumbers, and an entry is null where that sample was recorded by number.

    Example: ["Lot A","Lot B","Lot C"]
    unitstringnullable

    Unit of measure of data for this reading, such as in, mm or ppm: the unit sent with this sample in the Create Lab Test or Upload / Update Lab Test API. When no unit was sent for the sample, the unit configured on the Test Condition (the Unit of its Value Range) in the version of the Test Property used by this lab test. null when neither exists. No conversion is applied. Not the same field as the Product's unit, which is the unit of its sample size.

    Example: in
  • ]
  • 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
  • ]
  • ]
  • LabTestDetailPropertyForStyle
    {
    "id": "TP001",
    "name": "Color Fastness to Washing",
    "testPackageId": "TPK001",
    "testCategoryId": "TC001",
    "testCategoryName": "Physical Tests",
    "testSubcategoryId": "TSC001",
    "testSubcategoryName": "Color Fastness",
    "result": "pass",
    "reviewResult": "pass",
    "styles": [
    {
    "styleId": "string",
    "testConditions": [
    {
    "id": "TC001",
    "name": "Color Change",
    "result": "pass",
    "samples": [
    {
    "data": "Grade 4-5",
    "result": "pass",
    "sampleNumbers": [
    1,
    2,
    3
    ],
    "sampleNames": [
    "Lot A",
    "Lot B",
    "Lot C"
    ],
    "unit": "in"
    }
    ],
    "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"
    }
    }
    ]
    }
    ]
    }