In this blog, we will use an existing schedule integration, which we want to trigger in OIC via REST API.
Prerequisites:
Ensure you can access an Oracle Integration Cloud account and the necessary permission to create and manage the integration.
Follow the below steps to call a scheduled Integration in OIC using REST API:
Step 1: Create one REST connection by giving a name and then click ‘Create’.
Step 2: Create a REST connection with the OIC URL in which the scheduled integration is located and give the credentials for the connection as shown below.
Now test the connection and click on ‘Save’.
Develop a new Integration specifically for triggering the scheduled integration. This integration will serve as a trigger point for your scheduled process.
Step 3: Create a Scheduled orchestration integration and call the REST endpoint we created in Step 1.
Recommended for you: A Detailed Guide to Expose Oracle REST Data Services (ORDS)
Step 4: Provide a name and add the resource URL i.e. “/ic/api/integration/v1/integrations/{id}/schedule/jobs” and select the “POST” method for performing the task. Click on ‘Next’.
Step 5: Check the Template parameters, here the name is “id”.
Step 6: Click next, the summary page will look like below and then click ‘Done’.
Step 7: Open the mapper, expand the template parameter and create a target node, pass the Integration identifier name and version that you want to call from the REST endpoint. Click on validate and close the mapper.
Step 8: Add tracking variable and click ‘Save’, then activate and test the integration.
Step 9: Check the tracking and activity stream. It is the scheduled integration that we mapped.
If you have any questions or concern, please get in touch with us on [email protected].
Feburary 24 – New Additions - Implementing Oracle Integration Cloud
[…] How To Call Schedule Integrations In OIC Using REST API? […]