type: error post: description: |

Starts jobs

this resource can be used in the GUI for three functions

This is only available for standalone jobs.

___

Parameters in the POST body schema

<>
NameTypeDescriptionExampleDefault
``jobschedulerId``required, stringJobScheduler Master IDscheduler
``jobs``required, array Specified the jobs which should be modified and the modification. [{
"job":"/sos/reporting/Inventory",
"at":"now+10"
}]
``at``optional, string
field of each ``jobs`` item
start time in ISO format yyyy-mm-dd HH:MM[:SS] or now or now + HH:MM[:SS] or now + SECONDS now+10now
``params``optional, array
field of each ``jobs`` item
Parametersparams:[{"name":"...","value":"..."}]
``environment``optional, array
field of each ``jobs`` item
Environment variablesenvironment:[{"name":"...","value":"..."}]
body: application/json: schema: startJobs example: | { "jobschedulerId": "scheduler", "jobs": [{ "job": "/test/testJob1", "at": "now" }, { "job": "/sos/housekeeping/scheduler_rotate_log", "at": "now + 60", "params": { "file_age": "7" } }, { "job": "/test/testJob2", "at": "now" }, { "job": "/test/testJob3", "at": "now" }] } responses: 200: description: It returns an _ok_. This reply code comes only for bulk operations if all commands were successful. body: application/json: schema: ok example: | { "deliveryDate":"2016-05-05T21:13:35Z", "surveyDate":"2016-05-05T21:13:34Z", "ok":true } 419: