Export a Package
/ic/api/integration/v1/packages/{packagename}/archive
Request
-
packagename(required): string
Package name
-
bartatype: string
Accelerator type BA (Business Accelerator) | R (Recipe) | TA (Technical Accelerator)
-
builtby: string
Built By
-
includeRecordingFlag: string
Include recording flag
-
integrationInstance(required): string
This is the name of the service instance. You can get this value from the About page where it is specified in the Service instance field.
-
isClone: boolean
is Clone Allowed
-
isView: boolean
is View Allowed
-
prebuilt: boolean
Exports the package as prebuilt
There's no request body for this operation.
Back to TopResponse
- application/octet-stream
200 Response
404 Response
500 Response
Examples
The following examples show how to export a package 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 a Package
This command downloads the package to the specified file myfile.par
in the
same directory from which the command was run.
curl -X GET -H 'Authorization: Bearer access_token' -o 'myfile.par' https://design.integration.region.ocp.oraclecloud.com/ic/api/integration/v1/packages/samples.oracle.helloworld/archive?integrationInstance=service-instance
Required options for this cURL request:
-o '/path/myfile.par'
: Location and name of the file in which to save the package.
Example: Export a Recipe Type Package
This command downloads the package to the specified file
myfile.par
in the same directory from which the command was
run.
curl -X GET -H 'Authorization: Bearer access_token' -o 'myfile.par' https://design.integration.region.ocp.oraclecloud.com/ic/api/integration/v1/packages/orcl.r.eloqua_rn_contact_org_sync.1_0_0/archive?prebuilt=true?integrationInstance=service-instance
Required options for this cURL request:
-o '/path/myfile.par'
: Location and name of the file in which to save the package.