type: error post: description: |

Set the run time of orders

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
``orders``required, array Specified the orders which should be modified. [{
"jobChain":"/sos/reporting/Inventory",
"orderId":"Inventory"
}]
``runTime``optional, object
field of each ``orders`` item
run time in json format
``calendars``optional, array
field of each ``orders`` item
calendars which are assigned to the order
body: application/json: schema: modifyOrders example: | { "jobschedulerId": "scheduler", "orders": [{ "orderId": "order1", "jobChain": "/test/testJobChain", "runTime" : { "weekdays": { "days": [ { "day": "1 2 3 4 5", "periods": [ { "singleStart": "12:30" } ] } ] } }, { "orderId": "order2", "jobChain": "/test/testJobChain", "runTime" : { "weekdays": { "days": [ { "day": "1 2 3 4 5", "periods": [ { "singleStart": "12:30" } ] } ] } }, { "orderId": "order3", "jobChain": "/test/testJobChain", "runTime" : { "letRun": "false", "runOnce": "false", "weekdays": { "days": [ { "day": "1 2 3 4 5", "periods": [ { "singleStart": "12:30" } ] } ] } }, { "orderId": "order4", "jobChain": "/test/testJobChain", "runTime" : { "weekdays": { "days": [ { "day": "1 2 3 4 5", "periods": [ { "singleStart": "12:30" } ] } ] } }, { "orderId": "order5", "jobChain": "/test/testJobChain", "runTime" : { "weekdays": { "days": [ { "day": "1 2 3 4 5", "periods": [ { "singleStart": "12:30" } ] } ] } }] } 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: