SyncJobs

更新时间:
复制 MD 格式

Synchronizes jobs.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

OriginalClusterId

string

Yes

The ID of the source cluster that contains the jobs.

xxljob-00ed7f0d742b1

OriginalAppName

string

Yes

The name of the source application that contains the jobs.

test-source

JobIds

array

Yes

A list of job IDs.

integer

No

A job ID.

56

TargetClusterId

string

Yes

The ID of the destination cluster.

xxljob-008bfb1541111

TargetAppName

string

Yes

The name of the destination application.

test-target

Response elements

Element

Type

Description

Example

object

The response body.

Code

integer

The response code.

200

Message

string

The error message.

Not found: appName not found.

RequestId

string

The unique ID of the request. This ID is used for troubleshooting.

6BCE89B3-E882-511D-9A75-D452A56EC4B1

Success

boolean

Indicates whether the request was successful.

  • true: The request was successful.

  • false: The request failed.

true

Examples

Success response

JSON format

{
  "Code": 200,
  "Message": "Not found: appName not found.",
  "RequestId": "6BCE89B3-E882-511D-9A75-D452A56EC4B1",
  "Success": true
}

Error codes

HTTP status code

Error code

Error message

Description

400 InvalidParameter Parameter error: %s. Parameter error: %s
401 IllegalRequest IllegalRequest: %s. Illegal request:%s
500 InternalError InternalError: %s. System Internal Error: %s
403 NoPermission No permission to perform this operation: %s. No permission to perform this operation: %s
404 NotFound Not found: %s. The resource does not exist: %s

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.