AddTestsByIdsArguments
At least one of packages and properties must list something, every package must list at least one
property, and every property at least one condition. Otherwise 400 (graph.schema,
reason: empty_selection).
Only what is listed is added: naming a package does not add the rest of the package.
An id that is not in the catalog is saved with the warning add_tests.not_found. When the program runs, a
package, property or condition that is missing, disabled or not visible is skipped.
packages object[]
Properties added as part of a test package. Each property must belong to that package.
Test Package ID.
Possible values: non-empty
CHM-EU-01Optional in the request; the backend writes the catalog's name on save.
properties object[]required
Possible values: >= 1
Test Property ID.
Possible values: non-empty
CHM-PB-01Optional in the request; the backend writes the catalog's name on save.
conditions object[]required
Possible values: >= 1
Test Condition ID, on the property's latest version.
Possible values: non-empty
L-01Optional in the request; the backend writes the catalog's name on save.
Whether the lab test must keep this condition. Left out or null, the condition's own setting in the catalog applies.
true: the condition cannot be removed from a lab test the program filled.
falseproperties object[]
Properties added on their own, outside any package.
Test Property ID.
Possible values: non-empty
CHM-PB-01Optional in the request; the backend writes the catalog's name on save.
conditions object[]required
Possible values: >= 1
Test Condition ID, on the property's latest version.
Possible values: non-empty
L-01Optional in the request; the backend writes the catalog's name on save.
Whether the lab test must keep this condition. Left out or null, the condition's own setting in the catalog applies.
true: the condition cannot be removed from a lab test the program filled.
false{
"packages": [
{
"id": "CHM-EU-01",
"name": "string",
"properties": [
{
"id": "CHM-PB-01",
"name": "string",
"conditions": [
{
"id": "L-01",
"name": "string",
"required": true,
"locked": false
}
]
}
]
}
],
"properties": [
{
"id": "CHM-PB-01",
"name": "string",
"conditions": [
{
"id": "L-01",
"name": "string",
"required": true,
"locked": false
}
]
}
]
}