Import (Replace) a Lookup

put

/icsapis/v2/lookups/archive

Imports (replaces) a lookup with the same name that was exported previously. If you are using cURL, use the -F option to specify the file to import.

Request

Supported Media Types
Form Parameters

Response

Supported Media Types

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 replace an existing lookup 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.

curl -k -v -X PUT -u jstein:welcome1 -F file=@t.csv -F type=application/octet-stream https://integration.us.oraclecloud.com/icsapis/v2/lookups/archive