Schedules a job for execution specified by its model id and a cron string

POST {{baseUrl}}/schedules

Schedules a job for execution specified by its model id and a schedule string. The model ID is retrieved from Model Management module after uploading a model. The schedule string follows the cron format. Example 0 15 10 * * ? - will trigger the model at 10:15 am every day

Request Body

[{"name"=>"modelId", "value"=>"<uuid>", "datatype"=>"string"}, {"name"=>"configurationId", "value"=>"<uuid>", "datatype"=>"string"}, {"name"=>"scheduleString", "value"=>"<string>", "datatype"=>"string"}, {"name"=>"maximumExecutionTime", "value"=>"7200", "datatype"=>"number"}, {"name"=>"inputFolderId", "value"=>"<uuid>", "datatype"=>"string"}, {"name"=>"outputFolderId", "value"=>"<uuid>", "datatype"=>"string"}]

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;id&quot;:&quot;c603fb82-8417-11e8-adc0-fa7ae01bbebc&quot;,&quot;inputFolderId&quot;:&quot;17f9d94e-8417-11e8-adc0-fa7ae01bbebc&quot;,&quot;outputFolderId&quot;:&quot;0cf21f02-8417-11e8-adc0-fa7ae01bbebc&quot;,&quot;configurationId&quot;:&quot;8d318bd4-df34-a248-385a-5f99d5a5b0e4&quot;,&quot;modelId&quot;:&quot;951b3240-7857-11e8-adc0-fa7ae01bbebc&quot;,&quot;name&quot;:&quot;testSch&quot;,&quot;maximumExecutionTime&quot;:&quot;aute labore proident in&quot;,&quot;scheduleString&quot;:&quot;0 9 * * *&quot;,&quot;status&quot;:&quot;STOPPED&quot;,&quot;createdBy&quot;:&quot;analytics&quot;,&quot;creationDate&quot;:&quot;2018-10-01T12:00:00.001Z&quot;}