You can call this operation to clone a job.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes CloneFlowJob

The operation that you want to perform. Set the value to CloneFlowJob.

Id String Yes FJ-244582F1934CFC77

The ID of the job to be cloned.

ProjectId String Yes FP-C62EEC30F773B1A7

The ID of the project to which the job to be cloned belongs.

RegionId String Yes cn-hangzhou

The ID of the region where your project resides.

Response parameters

Parameter Type Example Description
Id String FJ-06D12BA164199E32

The ID of the created job.

RequestId String BCE475E4-129D-43D2-8595-C80B80CBC114

The ID of the request.

Examples

Sample requests


http(s)://[Endpoint]/? Action=CloneFlowJob
&Id=FJ-244582F1934CFC77
&ProjectId=FP-C62EEC30F773B1A7
&RegionId=cn-hangzhou
&<Common request parameters>

Sample success responses

XML format

<CloneFlowJobResponse>
  <RequestId>BCE475E4-129D-43D2-8595-C80B80CBC114</RequestId>
	  <Id>FJ-06D12BA16419****</Id>
</CloneFlowJobResponse>

JSON format

{
	"RequestId":"BCE475E4-129D-43D2-8595-C80B80CBC114",
	"Id":"FJ-06D12BA16419****"
}

Error codes

For a list of error codes, visit the API Error Center.