You can call the CloneFlowJob 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. You can use OpenAPI Explorer to search for API operations, call API operations, and dynamically generate SDK sample code.

Request parameters

Parameter Type Required Example Description
Action String Yes CloneFlowJob

The operation that you want to perform. This parameter is required for API requests that you create by piecing together HTTP or HTTPS URLs. Set the value to CloneFlowJob.

Id String Yes FJ-244582F1934C****

The ID of the job to be cloned. You can call ListFlowJob View data on the Member Management page.

ProjectId String Yes FP-C62EEC30F773****

The ID of the project to which the job to be cloned belongs. You can call ListFlowProject View the ID of the project.

RegionId String Yes cn-hangzhou

The region ID of the instance. You can call DescribeRegions To view the latest list of Alibaba Cloud regions.

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 requests

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 Syntax

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