Import(Replace) a Lookup
put
/ic/api/integration/v1/lookups/archive
Updates an existing lookup. If you are using cURL, use the -F option to specify the file to import. If this command returns with HTTP 404, use Import(Add) a Lookup instead.
Request
Query Parameters
-
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.
Supported Media Types
- multipart/form-data
Response
200 Response
Successful operation
400 Response
No file is uploaded
404 Response
Lookup not found
500 Response
Server error
Examples
The following cURL command example shows how to update an existing lookup by submitting a PUT 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.
curl -X PUT -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/lookups/archive?integrationInstance=service-instance