Oracle Integration Cloud Rest API Example

Share

Oracle Integration Cloud Rest API Example

Oracle Integration Cloud (OIC) provides REST APIs that allow you to manage and monitor integrations and other resources programmatically. 

Here’s an example of using the Oracle Integration Cloud REST API to list integrations:

  1. Obtain OAuth2 Access Token: Before making API requests, you need to obtain an OAuth2 access token for authentication. This involves sending a request to the Oracle Identity Cloud Service (IDCS) for authentication.
curl -X POST \
https://<IDCS_HOST>/oauth2/v1/token \
-H 'Authorization: Basic <base64_encoded_client_credentials>' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-d 'grant_type=client_credentials'

Replace <IDCS_HOST> with your Oracle IDCS host and <base64_encoded_client_credentials> with your client ID and client secret base64 encoded.

  1. List Integrations: Once you have the access token, you can use it to make requests to the OIC REST API.
curl -X GET \
https://<OIC_HOST>/ic/api/integration/v1/integrations \
-H 'Authorization: Bearer <access_token>'

Replace <OIC_HOST> with your Oracle Integration Cloud host and <access_token> with the access token obtained in the previous step.

This API call will return a list of integrations in your Oracle Integration Cloud instance..

Oracle Integration Cloud (OIC) Training Demo Day 1

 
You can find more information about Oracle Integration Cloud Service in this Oracle Docs Link

 

Conclusion:

Unogeeks is the No.1 Training Institute for OIC. Anyone Disagree? Please drop in a comment

Please check our Oracle Integration Cloud Training Details here OIC Training

You can check out our other latest blogs on Oracle Integration Cloud in this OIC Blogs

💬 Follow & Connect with us:

———————————-

For Training inquiries:

Call/Whatsapp: +91 73960 33555

Mail us at: info@unogeeks.com

Our Website ➜ https://unogeeks.com

Follow us:

Instagram: https://www.instagram.com/unogeeks

Facebook: https://www.facebook.com/UnogeeksSoftwareTrainingInstitute

Twitter: https://twitter.com/unogeeks


Share

Leave a Reply

Your email address will not be published. Required fields are marked *