Run a Scheduled Integration Now
post
/ic/api/integration/v1/integrations/{id}/schedule/jobs
Creates an ad-hoc integration run for a scheduled integration. This is useful for when you want to test a scheduled integration.
Request
Supported Media Types
- application/json; charset=utf-8
Path Parameters
-
id: string
Integration composite identifier
Header Parameters
ScheduleJob resource
Root Schema : schedulejob
Type:
Show Source
object
-
action(optional):
string
Allowed Values:
[ "NOW" ]
-
parameters(optional):
array parameters
-
runAsSchedule(optional):
boolean
Default Value:
false
Response
Supported Media Types
- application/json; charset=utf-8
204 Response
Successful operation
404 Response
Resource not found
Examples
The following example shows how to run a scheduled integration now 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: Run a Scheduled Integration Now
Request:
curl -X POST -H 'Authorization: Bearer access_token' -H "Content-Type:application/json" -d @runIntegration.json https://integration.us.oraclecloud.com/ic/api/integration/v1/integrations/HELLO_WORLD%7C01.02.0000/schedule/jobs
Request Body:
The following example shows the contents of the request body in JSON format. This is the contents of the runIntegration.json
file listed in the cURL command.
{"action":"NOW"}