Uses the CloneFlowJob interface 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. For API requests using the HTTP or HTTPS URL, this parameter is required. Set the value to CloneFlowJob.

Id String Yes FJ-244582F1934C****

The ID of the job to be cloned.

ProjectId String Yes FP-C62EEC30F773****

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

RegionId String Yes cn-hangzhou

The region ID of the instance.

Name String No test

The name of the job to be cloned.

Response parameters

Parameter Type Example Description
Id String FJ-06D12BA16419****

The ID of the created job.

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

The ID of the request.

Examples

Sample request

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

Sample success responses

XML format

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

JSON format

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

Error codes

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