Updated on 2025-10-24 GMT+08:00

Operating a Job Service Ticket

Function

This API is used to operate a job service ticket.

Operation types are RESUME, TERMINATE, RETRY, and SKIP_BATCH.

Authorization Information

Each account has all the permissions required to call all APIs, but IAM users must be assigned the required permissions.

  • If you are using role/policy-based authorization, see Permissions Policies and Supported Actions for details on the required permissions.
  • If you are using identity policy-based authorization, the following identity policy-based permissions are required.

    Action

    Access Level

    Resource Type (*: required)

    Condition Key

    Alias

    Dependencies

    coc:execution:operate

    Write

    -

    -

    -

    -

URI

POST /v1/executions

Request Parameters

Table 1 Request body parameters

Parameter

Mandatory

Type

Description

execution_id

Yes

String

Definition:

Ticket ID.

Constraints:

N/A.

Value range:

N/A.

Default value:

N/A.

operate_type

Yes

String

Definition:

Operation type.

  • RESUME

  • TERMINATE

  • RETRY

  • SKIP_BATCH

  • RESUME

  • TERMINATE

  • RETRY

  • SKIP_BATCH

Constraints:

N/A.

Value range:

Default value:

N/A.

Response Parameters

Status code: 200

Table 2 Response body parameters

Parameter

Type

Description

-

String

The job ticket is successfully operated.

Status code: 400

Table 3 Response body parameters

Parameter

Type

Description

error_code

String

Definition:

Error code.

Value range:

For details, see Error Codes.

error_msg

String

Definition:

Error description.

Value range:

For details, see Error Codes.

Example Requests

Retry a ticket.

POST https://{Endpoint}/v1/executions

{
  "operate_type" : "RETRY",
  "execution_id" : "EX20250624161701019xxxx"
}

Example Responses

Status code: 200

Request succeeded.

{ }

Status Codes

Status Code

Description

200

Request succeeded.

400

The contained error information is returned.

For more status codes, see Status Codes.

Error Codes

See Error Codes.