Import (Add) a Lookup in a Project

post

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

Imports a new lookup file in a project that was previously exported from another environment. To submit an import request, the lookup must not be present in the environment.

Request

Path Parameters
Query Parameters
Supported Media Types
Request Body - multipart/form-data ()
Root Schema : schema
Type: object
Show Source
Back to Top

Response

204 Response

Successful operation, no content sent, the Location header provides the URI for the newly created lookup

400 Response

No file is uploaded

409 Response

Lookup already exists

500 Response

Server error
Back to Top

Examples

The following example shows how to import a lookup in a project that was previously exported from another environment 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: Import a lookup into the project TEST_PROJECT

curl -X POST -H 'Authorization: Bearer access_token' -F file=@lookup.csv -F
      type=application/octet-stream https://design.integration.region.ocp.oraclecloud.com/ic/api/integration/v1/projects/TEST_PROJECT/lookups/archive?integrationInstance=service-instance
Back to Top