LabTestDetailPropertyCondition
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"]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.
infollowUpAction 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": "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"
}
}