Creating a REST Task
A REST task in Data Integration lets you call a REST API endpoint by using the HTTP protocol.
Create a REST task in a project or folder. Data Integration includes one default project to get you started. To create other projects or folders, see Projects and Folders.
In Data Integration, by default you can have simultaneous or parallel task runs of a task at a given time. To disallow concurrent task runs that are initiated manually, select the Disable simultaneous execution of the task checkbox when you create the task. When simultaneous task runs are disallowed, a run request for the task fails if there's already a task run in progress that's in a non-terminal state.
The configuration UI contains four sections in which you provide the REST API and authentication details for the task, provide optional parameter values in the scope of the task, and check for errors and warnings.
The steps for each section in the following procedure can also be used when editing a REST task.
Publish the REST task to an application in Data Integration before you run the task or schedule the task for running. For publishing information, see Publishing to a Data Integration Application. Use the oci data-integration task create-task-from-rest-task command and required parameters to create a REST task:
oci data-integration task create-task-from-rest-task [OPTIONS]
For a complete list of flags and variable options for CLI commands, see the Command Line Reference.
Run the CreateTask operation with the appropriate resource subtype to create a REST task.