type: error post: description: |

Starts orders

this resource can be used in the GUI for three functions

___

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"
"at":"now+10"
}]
``at``optional, string
field of each ``orders`` item
start time in ISO format yyyy-mm-dd HH:MM[:SS] or now or now + HH:MM[:SS] or now + SECONDS now+10now
``timeZone``optional, string
field of each ``orders`` item
  • This parameter set the time zone for an absolute time stamp in the ``at`` parameter.
  • This parameter is ignored for relative times in ``at`` such as "now+10"
  • See here the list for available time zones.
Berlin/EuropeTime zone of the JobScheduler
``state``optional, string
field of each ``orders`` item
Name of the desired job chain start 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":"..."}]
body: application/json: schema: modifyOrders example: | { "jobschedulerId": "scheduler", "orders": [{ "orderId": "order1", "jobChain": "/test/testJobChain", "at": "now" }, { "orderId": "order2", "jobChain": "/test/testJobChain", "at": "now" }, { "orderId": "order3", "jobChain": "/test/testJobChain", "at": "now" }, { "orderId": "order4", "jobChain": "/test/testJobChain", "at": "now" }, { "orderId": "order5", "jobChain": "/test/testJobChain", "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: