LabTestBasePostfix
Base Lab Test properties, declared after the Product list
Date when sample was received (required for creating a completed lab test)
Date when report was issued (required for creating a completed lab test)
Report number (required for creating a completed lab test)
Original report number (required for creating a completed lab test)
Revision number (required for creating a completed lab test)
Possible values: >= 0
0testPackages object[]nullable
Test packages
Possible values: <= 255 characters
Possible values: <= 255 characters
testProperties object[]nullable
Test properties (required for creating a completed lab test)
- Item
- Material
- Style
Possible values: [pass, fail, data, na]
Possible values: <= 255 characters
items object[]nullable
testConditions object[]nullable
Possible values: [pass, fail, data, na]
samples object[]nullable
Test condition readings and the samples each one applies to.
Send only one of these two fields, never both:
sampleNameswhen the Lab Test Form includes the Sample Information component.sampleNumberswhen it does not.
The reading recorded for these samples.
Grade 4-5The outcome recorded for these samples.
Possible values: [pass, fail, data]
passSamples identified by position in the Product's sample list, counting from 1. A number greater than the Product's sample size is rejected.
[1,2]Samples identified by their sampleName on the Product. Each name must match one of the Product's samples: names are checked against the samples sent in the same request when the request carries the Product, and against the Product's stored samples otherwise.
["Lot A","Lot B"]followUpAction objectnullable
attachments object[]nullable
Possible values: [critical, major, minor]
overallResult objectnullable
Overall test result (required for creating a completed lab test)
Possible values: [pass, fail, data, na]
Possible values: <= 255 characters
attachments object[]nullable
Attached files for Test Report (type "testReport") or General Lab Test Information (type "others").
Possible values: <= 64 characters
Possible values: [testReport, others]
Possible values: <= 255 characters
{
"sampleReceiptDate": "2024-07-29",
"reportIssueDate": "2024-07-29",
"reportNumber": "string",
"originalReportNumber": "string",
"revisionNumber": 0,
"testPackages": [
{
"id": "string",
"name": ""
}
],
"testProperties": [
{
"id": "string",
"name": "string",
"testPackageId": "string",
"testCategoryId": "string",
"testSubcategoryId": "string",
"testMethod": "string",
"result": "pass",
"reviewResult": "string",
"items": [
{
"itemId": "string",
"testConditions": [
{
"id": "string",
"name": "string",
"result": "pass",
"samples": [
{
"data": "Grade 4-5",
"result": "pass",
"sampleNumbers": [
1,
2
],
"sampleNames": [
"Lot A",
"Lot B"
]
}
],
"followUpAction": {
"comment": "string",
"attachments": [
{
"fileId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"label": "string"
}
],
"failureCategoryId": "string",
"failureCategoryName": "string",
"failureId": "string",
"failureName": "string",
"failureSeverity": "critical"
}
}
]
}
]
},
{
"id": "string",
"name": "string",
"testPackageId": "string",
"testCategoryId": "string",
"testSubcategoryId": "string",
"testMethod": "string",
"result": "pass",
"reviewResult": "string",
"materials": [
{
"materialId": "string",
"testConditions": [
{
"id": "string",
"name": "string",
"result": "pass",
"samples": [
{
"data": "Grade 4-5",
"result": "pass",
"sampleNumbers": [
1,
2
],
"sampleNames": [
"Lot A",
"Lot B"
]
}
],
"followUpAction": {
"comment": "string",
"attachments": [
{
"fileId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"label": "string"
}
],
"failureCategoryId": "string",
"failureCategoryName": "string",
"failureId": "string",
"failureName": "string",
"failureSeverity": "critical"
}
}
]
}
]
},
{
"id": "string",
"name": "string",
"testPackageId": "string",
"testCategoryId": "string",
"testSubcategoryId": "string",
"testMethod": "string",
"result": "pass",
"reviewResult": "string",
"styles": [
{
"styleId": "string",
"testConditions": [
{
"id": "string",
"name": "string",
"result": "pass",
"samples": [
{
"data": "Grade 4-5",
"result": "pass",
"sampleNumbers": [
1,
2
],
"sampleNames": [
"Lot A",
"Lot B"
]
}
],
"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": ""
}
]
}