type: error post: description: |

modify the state (node) or end state

parameters can be modified and suspended orders can be resumed at the same time

___

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"
"state":"secondStep"
"endState":"nothingToDo"
"resume":true
}]
``state``optional, string
field of each ``orders`` item
Name of the desired job chain node
``endState``optional, string
field of each ``orders`` item
Name of the desired job chain end node
``params``optional, array
field of each ``orders`` item
Parameterparams:[{"name":"...","value":"..."}]
``resume``optional, boolean
field of each ``orders`` item
resumes a suspended order iff truefalse
body: application/json: schema: modifyOrders example: | { "jobschedulerId": "scheduler", "orders": [{ "orderId": "order1", "jobChain": "/test/testJobChain", "state": "step4" }, { "orderId": "order2", "jobChain": "/test/testJobChain", "state": "step4" }, { "orderId": "order3", "jobChain": "/test/testJobChain", "state": "step5", "params": [ { "name": "step5_param_name", "value": "step5_param_value" } ] }, { "orderId": "order4", "jobChain": "/test/testJobChain", "state": "step4", "resume": true }, { "orderId": "order5", "jobChain": "/test/testJobChain", "state": "step4" }] } 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: