Runs a Data Tools job
post
                    /data-tools/jobs/run
Runs a Data Tools job
                
                Request
There are no request parameters for this operation.
There's no request body for this operation.
Back to TopResponse
201 Response
Data Tools job
                            
                            
                                Root Schema : schema
    
    	Type: 
    	
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
                
                    
                    description: string
                    
                    
                     
                    
                
                
                Descrip1tion of the Data Tools jobExample:
My job to load and manipulate data - 
                
                    
                    end_date: string
                    
                    
                     
                    
                
                
                A data and time of the format YYYY-MM-DDTHH24:MI:SS.FFTZH:TZMExample:
2009-08-12T07:47:21.212121000-04:00 - 
                
                    
                    job_name: string
                    
                    
                     
                    
                
                
                Example:
LOAD_AND_MODIFY_SALES - 
                
                    
                    owner: string
                    
                    
                     
                    
                
                
                Database object schemaExample:
SH - 
                
                    
                    repeat_interval: string
                    
                    
                     
                    
                
                
                DBMS_SCHEDULER interval for Data Tools jobExample:
FREQ=DAILY;BYHOUR=9;BYMINUTE=30;BYDAY=MON,TUE,WED,THU,FRI - 
                
                    
                    reporting: object
                    
                    
                
                
                    data-tools-job-reporting
                
                
                
 - 
                
                    
                    start_date: string
                    
                    
                     
                    
                
                
                A data and time of the format YYYY-MM-DDTHH24:MI:SS.FFTZH:TZMExample:
2009-08-12T07:47:21.212121000-04:00 - 
                
                    
                    steps: array
                    
                    
                
                
                    steps
                
                
                
 
Nested Schema : steps
    
    	
    	Type: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        array- 
            Array of: 
                object  Discriminator: type
            
            Discriminator:
{ "propertyName":"type", "mapping":{ "data_load":"data_tools_step_data_load", "smart_table":"data_tools_step_smart_table", "procedure":"data_tools_step_procedure", "live_feed":"data_tools_step_live_feed", "http":"data_tools_step_http" } }Step of a Data Tools job 
Example:
    
[
    {
        "type":"data_load",
        "step_name":"Load the SALES table",
        "data_load_name":"SALES_LOAD",
        "on_errors":"stop"
    },
    {
        "type":"smart_table",
        "step_name":"Get the birth year from the date",
        "recipe":"EXTRACT_BIRTH_YEAR_FROM_DATE",
        "on_errors":"continue"
    },
    {
        "type":"procedure",
        "procedure":"DBMS_OUTPUT.PUT_LINE",
        "arguments":[
            "Print this!"
        ]
    },
    {
        "type":"http",
        "url":"https://data-tools-enthusiast.adb.us-ashburn-1.oraclecloudapps.com/my-endpoint",
        "method":"POST",
        "credential_name":"MYAUTHTOKEN",
        "body":"{ \"status\": \"done\" }"
    }
]Nested Schema : email-array
    
    	
    	Type: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        array- 
            Array of: 
                string
            
            Email address to notifyExample:
data_studio_user@oracle.com 
Example:
    
[
    "data_studio_user@oracle.com",
    "oci_enthusiast@oracle.com"
]Nested Schema : Discriminator: type
    
    	Type: 
    	
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
          
    
objectDiscriminator: type 
Discriminator Values
Step of a Data Tools job
    
    
    
    
        Show Source
        - 
                
                    
                    on_errors: string
                    
                    
                     
                    
                
                
                Allowed Values:
[ "stop", "continue" ]Action when encountering step errorExample:continue - 
                
                    
                    step_name: string
                    
                    
                     
                    
                
                
                Optional name of stepExample:
LOAD_MY_TABLE - 
                
                    
                    type(required): string
                    
                    
                     
                    
                
                
                Allowed Values:
[ "data_load", "smart_table", "procedure", "live_feed", "http" ]Type of stepExample:data_load 
204 Response
No content