Update execution cases in a batch
POST/project/executionCases/batch-update
Applies the same fieldValues to selected execution cases, including execution result, executor, remark, and other writable layout fields. Uses the same field protocol, permission, readonly, and required validation as single updates. Source content is readonly. Each item has an independent transaction; failures do not roll back successful items. Step UUIDs belong to individual execution cases; use single updates for steps in different execution cases.
Request
Query Parameters
The team ID
- application/json
Body
required
Array [
]
Possible values: >= 1
fieldValues
object[]
required
Possible values: >= 1
Responses
- 200
- 401
- 403
- 404
- 500
Returns successful execution case IDs and per-item failures.
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
data
object
Execution case IDs that were updated or removed successfully.
failedCases
object[]
required
Per-item failures. These failures do not roll back successful items.
The execution case ID that failed.
The failure code for this execution case.
The failure message for this execution case.
The result of this request.
The error code of this request.
Error message for this request.
Error meta data for this request.
{
"result": "SUCCESS",
"data": {
"successExecutionCaseIDs": [
"executionCaseUUID1"
],
"failedCases": [
{
"executionCaseID": "executionCaseUUID2",
"code": "AccessDenied",
"message": "No permission to operate this execution case"
}
]
}
}
Returned if the authentication credentials are incorrect or missing.
- application/json
- Schema
- Example (from schema)
Schema
The result of this request.
The error code of this request.
Error message for this request.
{
"result": "FAIL",
"errorCode": "Unauthorized",
"errorMsg": "Access token is invalid"
}
Returns if the scope check fails.
- application/json
- Schema
- Example (from schema)
Schema
The result of this request.
The error code of this request.
Error message for this request.
{
"result": "FAIL",
"errorCode": "Forbidden",
"errorMsg": "Scope is invalid"
}
Returned if the resource object was not found.
- application/json
- Schema
- Example (from schema)
Schema
The result of this request.
The error code of this request.
Error message for this request.
{
"result": "FAIL",
"errorCode": "NotFound",
"errorMsg": "Not Found"
}
Internal Server Error.
- application/json
- Schema
- Example (from schema)
Schema
The result of this request.
The error code of this request.
Error message for this request.
{
"result": "FAIL",
"errorCode": "Internal Server Error",
"errorMsg": "Internal Server Error"
}