LabTestCreateInvalidTestConditionsResponse
Returned when status is sent and testProperties[].testConditions, or a result under items / materials / styles of such a Test Property, is invalid. Every error is listed. The lab test is not created.
codeinteger
Example:
400testConditionsstring[]
Example:
["Cannot create the lab test: the following Test Conditions are invalid."]invalidTestConditions object[]
Array [
testPropertyIdstringrequired
Example:
TP-PHtestConditionIdstring
The Test Condition ID the error is about, when it has one
Example:
C-02testConditionNamestring
The Test Condition name the error is about, when it has no ID
itemIdstring
The item of a result under items
Example:
ITEM-2materialIdstring
The material of a result under materials
styleIdstring
The style of a result under styles
errorstringrequired
Example:
C-02 is not in testConditions]
LabTestCreateInvalidTestConditionsResponse
{
"code": 400,
"testConditions": [
"Cannot create the lab test: the following Test Conditions are invalid."
],
"invalidTestConditions": [
{
"testPropertyId": "TP-PH",
"testConditionId": "C-02",
"testConditionName": "string",
"itemId": "ITEM-2",
"materialId": "string",
"styleId": "string",
"error": "C-02 is not in testConditions"
}
]
}