LabTestUploadRequestBody
Upload/Update Pre-Created Lab Test request body.
Product list (items / styles / materials) is optional and type-specific:
only the Product list matching the Lab Test Form's Product Type may be provided
(items for Item, styles for Style, materials for Material). Omit the Product
list entirely if no Product needs to be updated; if provided, send ALL Products for
the test because the whole list is REPLACED.
- Item
- Style
- Material
2024-04-24items object[]nullable
Optional Item list. Only applicable when the Lab Test Form's Product Type is Item. Omit this field entirely if no Product needs to be updated. If provided, send ALL Items for the test because the whole Item list is REPLACED.
Possible values: <= 255 characters
Possible values: <= 255 characters
Possible values: <= 255 characters
Possible values: <= 255 characters
Possible values: <= 255 characters
Possible values: <= 255 characters
Possible values: <= 255 characters
Possible values: Value must match regular expression ^[A-Z]{2}$
Possible values: <= 255 characters
testResultAttachments object[]required
f85774e7-cb3a-4bf3-ab8a-92e22bed41actestPackages object[]nullable
testProperties object[]required
Possible values: [pass, fail, data, na]
Possible values: <= 255 characters
items object[]nullable
testConditions object[]nullable
pass- Passfail- Faildata- Datana- N/A
Possible values: [pass, fail, data, na]
samples object[]nullable
Possible values: [pass, fail, data]
followUpAction objectnullable
attachments object[]nullable
Possible values: [critical, major, minor]
overallResult objectrequired
Possible values: [pass, fail, data]
passquestionnaire objectnullable
forTestExecution object[]required
labAgency object
Possible values: <= 255 characters
Possible values: <= 255 characters
iso alpha-2 country code
Possible values: <= 2 characters
Possible values: <= 255 characters
Possible values: <= 50 characters
contacts object[]
Possible values: <= 255 characters
Possible values: <= 255 characters
Possible values: <= 80 characters
Possible values: <= 80 characters
{
"reportNumber": "string",
"originalReportNumber": "string",
"revisionNumber": 0,
"reportIssueDate": "2024-04-24",
"items": [
{
"itemId": "string",
"itemName": "string",
"itemDescription": "string",
"styleId": "string",
"styleName": "string",
"color": "",
"size": "string",
"originCountry": [
"string"
],
"sampleSize": 0,
"unit": ""
}
],
"testResultAttachments": [
{
"fileId": "f85774e7-cb3a-4bf3-ab8a-92e22bed41ac",
"label": "string"
}
],
"testPackages": [
{
"id": "string",
"name": "string",
"type": "string"
}
],
"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": "string",
"result": "pass",
"sampleNumbers": [
0
]
}
],
"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"
},
"questionnaire": {
"forTestExecution": [
{
"integrationKey": "string",
"values": [
"string"
]
}
]
},
"labAgency": {
"localOrganizationId": "string",
"address": "string",
"city": "string",
"country": "string",
"province": "string",
"postal": "string",
"contacts": [
{
"name": "string",
"telephoneNumber": "string",
"mobileNumber": "string"
}
]
}
}