Export a Lookup in a Project

get

/ic/api/integration/v1/projects/{projectId}/lookups/{name}/archive

Exports a lookup in a project. This operation returns a byte stream that is output to the display by default. If you are using cURL, use the -o option to save the response to a file.

Request

Path Parameters
Query Parameters

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

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

404 Response

Lookup not found

423 Response

Lookup is in locked status

500 Response

Server error
Back to Top

Examples

The following example shows how to export a lookup in a project 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 lookup myLookup in the project TEST_PROJECT

This command downloads the lookup to the specified file myfile.csv in the same directory from which the command was run.
curl -X GET -H 'Authorization: Bearer access_token' -o 'myfile.csv' https://design.integration.region.ocp.oraclecloud.com/ic/api/integration/v1/projects/TEST_PROJECT/lookups/myLookup/archive?integrationInstance=service-instance

Required options for this cURL request:

-o '/path/myfile.csv': Specifies the location and name of the file for exporting the lookup.

Back to Top