Clone a Lookup
post
                    /ic/api/integration/v1/lookups/{name}/clone
Clones the lookup with the specified name. The request must contain a JSON file with the new lookup's details attached with the -d option. The JSON file must contain the name attribute.
                
                Request
Path Parameters
                - 
                    name(required):  string
                    
                    Lookup name
 
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
                            - application/json
 
Root Schema : schema
    
    	Type: 
    	
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
                
                    
                    description: string
                    
                    
                     
                    
                
                
                Lookup Description
 - 
                
                    
                    keywords: string
                    
                    
                     
                    
                
                
                Keywords
 - 
                
                    
                    name(required): string
                    
                    
                     
                    
                
                
                Lookup Name
 
Response
200 Response
Successful operation
                            
                            
                            
                            
                        400 Response
Bad request, missing required data
                            
                            
                            
                            
                        404 Response
Lookup not found
                            
                            
                            
                            
                        500 Response
Server error
                            
                            
                            
                            
                        Examples
The following example shows how to clone a 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.
Example: Clone a lookup
This command clones the specified lookup. The request must attach a JSON file containing the new lookup's details with the -d option.
                  
Request:
curl -X POST -H 'Authorization: Bearer access_token' -H "Content-Type:application/json" -d @lookup.json https://design.integration.region.ocp.oraclecloud.com/ic/api/integration/v1/lookups/myLookup/clone?integrationInstance=service-instanceRequest Body:
The following example shows the contents of the request body in JSON format. This is the contents of the lookup.json file listed in the cURL command.
                  
{"description":"Cloned lookup","name":"clonedLookup"}