跳到主要内容

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

    executionCaseID stringrequired

    The execution case ID.

Query Parameters

    teamID stringrequired

    The team ID

Body

required

    fieldValues

    object[]

    required

  • Array [

  • fieldID stringrequired
    value required
  • ]

Responses​

Request is successful.

Schema

    result string

    The result of this request.

    errorCode string

    The error code of this request.

    errorMsg string

    Error message for this request.

    errorData object

    Error meta data for this request.

Loading...