Import(Add) a Lookup
post
                    /ic/api/integration/v1/lookups/archive
Imports a new lookup file that was previously exported from another environment. To submit an import request, the lookup must not be present in the environment. If the lookup was imported earlier, use Import(Replace) 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
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
                            
                            
                            
                            
                        Examples
The following cURL command example shows how to import a lookup 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.
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/lookups/archive?integrationInstance=service-instance