LabTestCreateRefusedResultsResponse
Returned when the Test Program set the tests of a submitted creation and the request has results for tests it did not pick (refusedResults), or any Test Property or Test Condition it picked has no result in the request (missingResults). One response lists both. The lab test is not created.
400400["Cannot create the lab test: the request has results for tests that the Test Program of the Lab Test Form did not pick."]refusedResults object[]
TP-679The refused Test Property result, for a result of a Test Property the Test Program did not pick
Possible values: [result, reviewResult]
For a condition result, the product it belongs to. materialId or styleId instead, by the Lab Test Form's product type
KANE-ITEM-1C-03For a condition result sent without an ID
missingResults object[]
Test Properties, and Test Conditions for an item / material / style, that the Test Program picked and that have no result in the request
PHYS-SPR-01Possible values: [result]
For a Test Condition, the product it belongs to. materialId or styleId instead, by the Lab Test Form's product type
ITEM-1For a Test Condition without a result
C-01{
"code": 400,
"status": 400,
"testProperties": [
"Cannot create the lab test: the request has results for tests that the Test Program of the Lab Test Form did not pick."
],
"refusedResults": [
{
"testPropertyId": "TP-679",
"field": "result",
"itemId": "KANE-ITEM-1",
"materialId": "string",
"styleId": "string",
"testConditionId": "C-03",
"testConditionName": "string"
}
],
"missingResults": [
{
"testPropertyId": "PHYS-SPR-01",
"field": "result",
"itemId": "ITEM-1",
"materialId": "string",
"styleId": "string",
"testConditionId": "C-01"
}
]
}