Update execution information
PUT/project/executionCases/:executionCaseID
Source test case fields are read-only. Writable fields are executor, execution result, result remark, attachments, related issues, and step execution information. Writable custom execution fields are also supported. Submit only changed fields. Reference field values use IDs or ID arrays, not the display objects returned by OneSQL. A successful response contains only result: SUCCESS, without data. Query the updated detail with POST /openapi/v3alpha/onesql/query. Clearing a required field returns result: FAIL and errorCode: MissingParameter; errorMsg identifies the field ID. The failed update does not change the execution case. If multiple fields fail validation, one error is returned in field ID order.
Request
Path Parameters
The execution case ID.
Query Parameters
The team ID
- application/json
Body
required
Array [
]
fieldValues
object[]
required
Responses
- 200
- 401
- 403
- 404
- 500
Request is successful.
- application/json
- Schema
- Example (from schema)
Schema
The result of this request.
The error code of this request.
Error message for this request.
Error meta data for this request.
{
"result": "SUCCESS"
}
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"
}