You can call this operation to clone a job.

Request parameters

Name Type Required Example Description
Id String Yes F-8C1EB0C6452A82A1 The ID of the job to clone.
ProjectId String Yes FP-53C4D36FC7310AC0 The ID of the project that consists of the job.
RegionId String Yes cn-hangzhou The ID of the region.

Response parameters

Name Type Example Description
RequestId String 12E7685E-C7A2-4BED-878B-07AF5BAD475F The ID of the request.
Id String F-CDFE2BF3A7963F06 The ID of the job that has been created.

Examples

  • Sample requests
    /? Action=CloneFlowJob
    &Id=FJ-244582F1934CFC77
    &ProjectId=FP-C62EEC30F773B1A7
    &RegionId=cn-hangzhou
    &<Common request parameters>
  • Successful response examples
    JSON format
    {
    	"Id":"FJ-06D12BA164199E32",
    	"RequestId":"BCE475E4-129D-43D2-8595-C80B80CBC114"
    }
  • Error response examples
    JSON format
    {
    	"code":"FLOW_API_FAILED",
    	"message":"Job name already exists: [job_0_copy]",
    	"requestId":"7DF74E3B-5BEA-4365-8E67-4FD95095924F",
    	"successResponse":false
    }

Error codes

View error codes.