Export an Integration

get

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

Exports an integration for use in other Oracle Integration environments to the location specified with the -o option.

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.
Query Parameters
Back to Top

Response

Supported Media Types

200 Response

Successful operation
Body ()
Root Schema : schema
Type: array
Show Source

404 Response

Integration not found

423 Response

Integration is in locked status or PREBUILT type

500 Response

Server error
Back to Top

Examples

The following example shows how to export an integration to a specified file by submitting a GET 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: Export an integration

This command exports the integration to the specified file myfile.iar in the same directory from which the command was run.

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

curl -X GET -H 'Authorization: Bearer access_token' -o 'myfile.iar' https://integration.us.oraclecloud.com/ic/api/integration/v1/integrations/HELLO_WORLD%7C01.02.0000/archive

Required options for this cURL request:

  • -o '/path/myfile.iar': Location and name of the file in which to save the integration.
Back to Top