LabTestDetailPropertyForItem
Test property ID
TP001Test property name
Color Fastness to WashingTest package ID
TPK001Test category ID
TC001Test category name
Physical TestsTest subcategory ID
TSC001Test subcategory name
Color FastnessPossible values: [pass, fail, data, na]
passpassitems object[]
testConditions object[]
Test condition ID
TC001Test condition name
Color ChangeTest condition result
Possible values: [pass, fail, data, na]
passsamples object[]
Sample data
Grade 4-5Possible values: [pass, fail, data, na]
passSample 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.
[1,2,3]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.
["Lot A","Lot B","Lot C"]followUpAction object
Follow-up action comment
No action requiredattachments object[]
Attachment name
test-report.pdfAttachment URL
https://example.com/files/test-report.pdfAttachment label
Test ReportFailure category ID
nullFailure category name
nullFailure ID
nullFailure name
nullFailure severity
Possible values: [critical, major, minor]
critical{
"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
],
"sampleNames": [
"Lot A",
"Lot B",
"Lot C"
]
}
],
"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"
}
}
]
}
]
}