Calling External REST APIs in Oracle Integration Cloud : Integration (2024)

Calling External REST APIs in Oracle Integration Cloud : Integration (1)

In the ever-evolving landscape of cloud-based integration solutions, Oracle Integration Cloud (OIC) stands out as a powerful platform that facilitates seamless connectivity between diverse applications and services. One of the key features that empowers this connectivity is the REST Adapter, allowing users to effortlessly call external REST APIs. In this blog post, we’ll explore the process of invoking external REST APIs in OIC using the REST Adapter and delve into the benefits of this integration approach.

In this blog, We will cover

  • Understanding the REST Adapter in OIC
  • Steps To Perform To Call An External REST API
  • Step by step : Calling External REST API in OIC Using REST Adapter
  • Benefits of Using REST Adapter in OIC
  • Conclusion

Understanding the REST Adapter in OIC

The REST Adapter in Oracle Integration Cloud provides a straightforward means of interacting with external RESTful services. Whether you need to consume data from a third-party API or push information to an external system, the REST Adapter simplifies the integration process. Let’s walk through a basic scenario to illustrate how you can call an external REST API within an OIC integration.

Steps To Perform To Call An External REST API

  • Create an Integration: Begin by creating a new integration within Oracle Integration Cloud.
  • Configure REST Adapter Connection: Drag and drop the REST Adapter onto the integration canvas. Configure the connection details, including the base URL of the external REST API, authentication credentials, and any required headers.
  • Define Trigger and Actions: Define the trigger for your integration, specifying when the integration should be triggered to call the external REST API. Add actions within the integration flow, such as data transformations or enrichments.
  • Invoke External REST API: Use the REST Adapter within the integration flow to invoke the external REST API. Configure the request method (GET, POST, PUT, DELETE) and provide any required parameters or payload.
  • Handle Response: Implement error handling and response processing within the integration to manage various scenarios, ensuring the robustness of your integration.
  • Testing: Before deploying the integration, leverage OIC’s testing capabilities to ensure that the integration works as expected.

To know More : Adapters in OIC

Step by step : Calling External REST API in OIC Using REST Adapter

CREATE A CONNECTION USING REST ADAPTER

  1. Create a connection using Rest Adapter.Calling External REST APIs in Oracle Integration Cloud : Integration (2)
  2. Enter Name as your own choice and select Trigger from Role type drop down. We have selected Trigger as we want to expose this REST connection as a REST service. Means this will work as an endpoint for the end userCalling External REST APIs in Oracle Integration Cloud : Integration (3)
  3. As this is the Trigger REST connection, you don’t need to configure anything in this. Leave all as it is. And click on the Test button in the upper right corner. If everything goes fine, the progress bar will reach 100%.Calling External REST APIs in Oracle Integration Cloud : Integration (4)

CREATE A EXTERNAL REST CONNECTION IN OIC

  1. The next screen displays all different types of adapters available on OIC. Search REST and select REST Adapter.Calling External REST APIs in Oracle Integration Cloud : Integration (5)
  2. Enter Name as your own choiceCalling External REST APIs in Oracle Integration Cloud : Integration (6)
  3. Enter below details as below and click the OK button: Connection Type: REST API Base URL
  4. Connection URL: Enter the base URL of REST API as
    Provide the link for connection URL.
  5. Enter your oracle cloud account details. In the place of security.
  6. Click on Test button again and it will be successfully tested. If you want to test Your integration with external tools like Postman or SOAP UI add basic authentication also,Calling External REST APIs in Oracle Integration Cloud : Integration (7)

CREATE AN INTEGRATION

  1. Mention Name in What do you want to call your integrationCalling External REST APIs in Oracle Integration Cloud : Integration (8)
  2. Drag the REST Trigger connectionCalling External REST APIs in Oracle Integration Cloud : Integration (9)
  3. Mention What you want to call your endpointCalling External REST APIs in Oracle Integration Cloud : Integration (10)
  4. Enter the information below and Click Next.Calling External REST APIs in Oracle Integration Cloud : Integration (11)
  5. In select the response payload format selects JSON Sample: This option allows us to take input in json format. Select inline link to give sample payload.Calling External REST APIs in Oracle Integration Cloud : Integration (12)
  6. Enter the payload according to your requirements.Calling External REST APIs in Oracle Integration Cloud : Integration (13)
  7. Check the summary and click on finish
  8. Click Invokes from right navigation, Drop the Rest adapter we created in the previous step and configure below Map of GetTodo.Calling External REST APIs in Oracle Integration Cloud : Integration (14)
  9. Enter the information, what you want to call your endpoint and action to performCalling External REST APIs in Oracle Integration Cloud : Integration (15)
  10. Select payload format as JSON and Enter the PayloadCalling External REST APIs in Oracle Integration Cloud : Integration (16)
  11. Now click on actions and Add the Mapper to Map Call Todos.Calling External REST APIs in Oracle Integration Cloud : Integration (17)
  12. Map the data and validate.Calling External REST APIs in Oracle Integration Cloud : Integration (18)
  13. Add the Business Identifiers at last and activate the integration to test.

Activate and Test the Integration

  1. Test the integration with inbuilt tool, you can also use postman or Soap ui.Calling External REST APIs in Oracle Integration Cloud : Integration (19)

Benefits of Using REST Adapter in OIC

  • Simplicity and Agility: The REST Adapter’s intuitive design makes it easy for users to quickly configure and deploy integrations, promoting agility in responding to changing business requirements.
  • Seamless Connectivity: OIC’s REST Adapter facilitates seamless connectivity with a wide array of external RESTful services, enabling organizations to integrate with various platforms effortlessly.
  • Efficient Data Handling: With built-in features for handling RESTful requests and responses, the adapter streamlines data exchange, ensuring efficiency in data processing.
  • Monitoring and Logging: OIC provides robust monitoring and logging capabilities, allowing users to track the performance of integrations and troubleshoot issues effectively.

Conclusion

Calling external REST APIs in Oracle Integration Cloud using the REST Adapter opens up a world of possibilities for organizations seeking to create interconnected and streamlined workflows. With its user-friendly interface and powerful capabilities, OIC empowers businesses to adapt to the demands of the digital landscape by seamlessly integrating with external services. Embrace the REST Adapter in OIC and take the next step towards achieving a more connected and efficient integration environment.

Frequently Asked Questions

What is the REST Adapter in Oracle Integration Cloud?

The REST Adapter in OIC is a component that facilitates seamless integration with external RESTful services. It enables users to connect to and interact with external APIs, making it a crucial tool for building comprehensive and interconnected workflows.

How do I configure the REST Adapter connection in OIC?

To configure the REST Adapter connection in OIC: Drag and drop the REST Adapter onto the integration canvas. Provide the necessary connection details, such as the base URL of the external REST API, authentication credentials, and any required headers.

What are the supported request methods in the REST Adapter?

The REST Adapter supports common HTTP request methods, including GET, POST, PUT, and DELETE. These methods allow you to perform different actions when interacting with external REST APIs.

Can I handle authentication for external REST APIs in OIC?

Yes, the REST Adapter supports various authentication methods, such as basic authentication, OAuth, and API key authentication. You can configure the adapter to ensure secure communication with external APIs.

How do I pass parameters to an external REST API using the REST Adapter?

Within the REST Adapter configuration, you can define parameters and headers as part of the request. This allows you to pass dynamic values, query parameters, or any necessary information required by the external API.

Related Links:

  • To apply for 1z0-1042-23 Oracle cloud platform integration 2023 certified professional
  • Step by Step guide to get aFREE Oracle Cloud account.
  • Oracle Integration Cloud (OIC) For Beginners Overview
  • Create Oracle Integration Cloud Instance: Step by Step

Next Task For You

Do you want to learn more about Oracle and confuse where to start or which certification is right for you? Then, click on theregister nowbutton below to register for aFree MasterclassonOracle [1Z0-1042] Certified Cloud Integration Expert,which will help you better understand and choose the right path and clear the certification exam.

Calling External REST APIs in Oracle Integration Cloud : Integration (2024)
Top Articles
Time to adopt a new word for "stakeholders"​
How to view employees as stakeholders | HR blog
Scheelzien, volwassenen - Alrijne Ziekenhuis
Evil Dead Movies In Order & Timeline
O'reilly's Auto Parts Closest To My Location
How To Be A Reseller: Heather Hooks Is Hooked On Pickin’ - Seeking Connection: Life Is Like A Crossword Puzzle
10 Popular Hair Growth Products Made With Dermatologist-Approved Ingredients to Shop at Amazon
Myhr North Memorial
270 West Michigan residents receive expert driver’s license restoration advice at last major Road to Restoration Clinic of the year
Rochester Ny Missed Connections
What Does Dwb Mean In Instagram
Thayer Rasmussen Cause Of Death
Oc Craiglsit
Nioh 2: Divine Gear [Hands-on Experience]
How to Store Boiled Sweets
Nebraska Furniture Tables
Five Day National Weather Forecast
Sivir Urf Runes
9044906381
Louisiana Sportsman Classifieds Guns
Farmer's Almanac 2 Month Free Forecast
Vintage Stock Edmond Ok
Wausau Marketplace
Scotchlas Funeral Home Obituaries
eHerkenning (eID) | KPN Zakelijk
Team C Lakewood
Yosemite Sam Hood Ornament
Engineering Beauties Chapter 1
Violent Night Showtimes Near Amc Dine-In Menlo Park 12
14 Top-Rated Attractions & Things to Do in Medford, OR
12657 Uline Way Kenosha Wi
Federal Express Drop Off Center Near Me
Dailymotion
Helloid Worthington Login
Advance Auto Parts Stock Price | AAP Stock Quote, News, and History | Markets Insider
Dreamcargiveaways
Walter King Tut Johnson Sentenced
Smartfind Express Henrico
Iban's staff
Wednesday Morning Gifs
Sinai Sdn 2023
Mta Bus Forums
Wattengel Funeral Home Meadow Drive
RALEY MEDICAL | Oklahoma Department of Rehabilitation Services
1v1.LOL Game [Unblocked] | Play Online
Courtney Roberson Rob Dyrdek
Rush Copley Swim Lessons
Elven Steel Ore Sun Haven
Tyco Forums
tampa bay farm & garden - by owner "horses" - craigslist
Loss Payee And Lienholder Addresses And Contact Information Updated Daily Free List Bank Of America
Latest Posts
Article information

Author: Carmelo Roob

Last Updated:

Views: 5893

Rating: 4.4 / 5 (65 voted)

Reviews: 88% of readers found this page helpful

Author information

Name: Carmelo Roob

Birthday: 1995-01-09

Address: Apt. 915 481 Sipes Cliff, New Gonzalobury, CO 80176

Phone: +6773780339780

Job: Sales Executive

Hobby: Gaming, Jogging, Rugby, Video gaming, Handball, Ice skating, Web surfing

Introduction: My name is Carmelo Roob, I am a modern, handsome, delightful, comfortable, attractive, vast, good person who loves writing and wants to share my knowledge and understanding with you.