Add/remove/update mappings between 'TestCaseQuery' entities and other entities
POST/testcase-query/mapping/bulk/:otherEntities
Adds/Removes/Updates mappings between entities (e.g. test cases, test runs, etc.) if the mapping is defined. Id values are named by entity e.g. 'testcase_id', 'testrun_id' (see request schema)
Request
Path Parameters
The name(s) of the other entities to map to, separated by colon ':'
Query Parameters
Possible values: [add
, update
, add_or_update
, delete
]
- application/json
Body
required
- MOD1
Array [
]
oneOf
ids
object
An object of entity id keys for the member entities
mapped
object
The testplan_id property
The testcase_query_id property
Responses
- 4XX
- 5XX
The request failed because invalid request parameters or data were supplied or access was denied.
- application/json
- Schema
- Example (from schema)
Schema
The error code describing the general error category.
API_INVALID_INPUT_DATA
The HTTP status code.
The actual error message describing the error in more detail.
The request id for following up on specific errors.
{
"code": "API_INVALID_INPUT_DATA",
"status": 0,
"message": "string",
"reqid": "string"
}
The request failed because an error occurred during processing of the request.
- application/json
- Schema
- Example (from schema)
Schema
The error code describing the general error category.
API_INVALID_INPUT_DATA
The HTTP status code.
The actual error message describing the error in more detail.
The request id for following up on specific errors.
{
"code": "API_INVALID_INPUT_DATA",
"status": 0,
"message": "string",
"reqid": "string"
}