Clone an Integration

post

/ic/api/integration/v1/integrations/{id}/clone

Creates a new copy of an integration with identical connections and data mappings. The request body must contain at least the code, version, and name fields.

Request

Supported Media Types
Path Parameters
  • Integration composite identifier. The ID consists of the code and the version separated by the | (vertical line) character. Format: code%7Cversion. Example: SC2RN%7C01.00.0000. When using cURL, substitute the %7C code for the vertical line.
Body ()
Integration resource
Root Schema : integration
Type: object
Show Source
Nested Schema : IntegrationDependencyRs
Type: object
Show Source
Nested Schema : endPoints
Type: array
Show Source
Nested Schema : filmstrip
Type: array
Show Source
Nested Schema : properties
Type: array
Show Source
Nested Schema : scheduleParams
Type: object
Additional Properties Allowed
Show Source
Nested Schema : trackingVariables
Type: array
Show Source
Nested Schema : certificates
Type: array
Show Source
Nested Schema : connections
Type: array
Show Source
Nested Schema : integrations
Type: array
Show Source
Nested Schema : libraries
Type: array
Show Source
Nested Schema : lookups
Type: array
Show Source
Nested Schema : CertificateDependencyRs
Type: object
Show Source
Nested Schema : ConnectionDependencyRs
Type: object
Show Source
Nested Schema : LocalIntegrationDependencyRs
Type: object
Show Source
Nested Schema : LibraryDependencyRs
Type: object
Show Source
Nested Schema : LookupDependencyRs
Type: object
Show Source
Nested Schema : EndPointRs
Type: object
Show Source
Nested Schema : ConnectionBaseRs
Type: object
Show Source
Nested Schema : FilmstripRs
Type: object
Show Source
Nested Schema : IntegrationPropRs
Type: object
Show Source
Nested Schema : additionalProperties
Type: object
Additional Properties Allowed
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
Back to Top

Response

Supported Media Types

200 Response

Successful operation

400 Response

Bad request, missing required data

404 Response

Integration not found

500 Response

Server error
Back to Top

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.

Example: Clone the Integration with the Specified ID

Request:

The id is in the form: code%7Cversion. The %7C is the encoded | (vertical line).

curl -X POST -H 'Authorization: Bearer access_token' -H "Content-Type:application/json" -d @integration.json https://integration.us.oraclecloud.com/ic/api/integration/v1/integrations/HELLO_WORLD%7C01.02.0000/clone

Request Body:

The following example shows the contents of the request body in JSON format. This is the contents of the integration.json file listed in the cURL command. The file must contain three attributes: name, code, and version. The description attribute is optional.

{"code":"CLONEDINTEGRATION","version":"01.00.0000","name":"ClonedIntegration","description":"The description of the cloned integration"}
Back to Top