type: error post: description: |

Set the run time of jobs

The run time is only changed in the JobScheduler memory.
After a JobScheduler restart the changes are reset.

___

Parameters in the POST body schema

<>
NameTypeDescriptionExampleDefault
``jobschedulerId``required, stringJobScheduler Master IDscheduler
``jobs``required, array Specified the jobs which should be modified. [{
"job":"/sos/reporting/Inventory"
}]
``runTime``optional, string
field of each ``jobs`` item
run time in xml format
``calendars``optional, array
field of each ``jobs`` item
calendars which are assigned to the job
body: application/json: schema: modifyJobs example: | { "jobschedulerId": "scheduler", "jobs": [{ "job": "/test/testJob1", "runTime": "<run_time><weekdays><day day='1 2 3 4 5'><period single_start='12:00'/></day></weekdays></run_time>" }, { "job": "/test/testJob2", "runTime": "<run_time><weekdays><day day='1 2 3 4 5'><period single_start='12:00'/></day></weekdays></run_time>" }, { "job": "/test/testJob3", "runTime": "<run_time><weekdays><day day='1 2 3 4 5'><period single_start='12:00'/></day></weekdays></run_time>" }, { "job": "/test/testJob4", "runTime": "<run_time><weekdays><day day='1 2 3 4 5'><period single_start='12:00'/></day></weekdays></run_time>" }, { "job": "/test/testJob5", "runTime": "<run_time><weekdays><day day='1 2 3 4 5'><period single_start='12:00'/></day></weekdays></run_time>" }] } 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: 420: description: It returns an _error_. This reply code comes only for bulk operations if all commands failed. body: application/json: 440: body: application/json: