Clone an Integration

post

/icsapis/v2/integrations/{id}/clone

Clones an integration. The request body must contain at least the code, version, and name fields.

Request

Supported Media Types
Path Parameters
Body ()
Root Schema : integration
Type: object
Show Source
Nested Schema : endPoints
Type: array
Show Source
Nested Schema : scheduleParams
Type: object
Additional Properties Allowed
Show Source
Nested Schema : trackingVariables
Type: array
Show Source
Nested Schema : EndPointResource
Type: object
Show Source
Nested Schema : ConnectionBaseResource
Type: object
Show Source
Nested Schema : TrackingVariableType
Type: object
Show Source
Nested Schema : ReferenceType
Type: object
Show Source
Nested Schema : WirepointType
Type: object
Show Source
Nested Schema : property
Type: array
Show Source
Nested Schema : property
Type: array
Show Source
Nested Schema : PropertyType
Type: object
Show Source
Nested Schema : property
Type: array
Show Source
Nested Schema : resourceGroup
Type: array
Show Source
Nested Schema : ResourceGroupType
Type: object
Show Source
Nested Schema : property
Type: array
Show Source
Nested Schema : resource
Type: array
Show Source
Nested Schema : ResourceType
Type: object
Show Source
Nested Schema : property
Type: array
Show Source

Response

Supported Media Types

200 Response

Successful operation

400 Response

Bad request, missing required data

404 Response

Integration not found

500 Response

Server error

Examples

The following example shows how to clone an integration by submitting a POST request on the REST resource using cURL. For more information about cURL, see Use cURL. For more information about endpoint URL structure, see Send Requests.

curl -X POST -u jstein:welcome1 -H "Accept:application/json" -d @clonedata.json \
https://integration.us.oraclecloud.com/icsapis/v2/integrations/FORTEST1|01.00.0000/clone

Example of Request Body

The following example shows the contents of the request body in JSON format. This is the contents of the clonedata.json file listed in the cURL command.

{ 
    "name": "ForTest2", 
    "code" : "FORTEST2", 
    "version" : "01.00.0000" 
}