type: error post: description: |

Add orders - IN PROGRESS

this resource can be used in the GUI for three functions

___

Parameters in the POST body schema

<>
NameTypeDescriptionExampleDefault
``controllerId``required, stringJobScheduler Controller IDjobscheduler
``orders``required, array Specified the orders which should be modified. [{
"workflowPath":"/myWorkflow",
"orderName":"daily"
"scheduledFor":"now+10"
}]
``orderName``required, string (max. 30 characters)
field of each ``orders`` item
``orderName`` is only a part of the orderId in the form "#<date>#T<uniqueId>-<orderName>"
``workflowPath``required, string
field of each ``orders`` item
``scheduledFor``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 ``scheduledFor`` parameter.
  • This parameter is ignored for relative times in ``scheduledFor`` such as "now+10"
  • See here the list for available time zones.
Europe/BerlinEtc/UTC
``arguments``optional, object
field of each ``orders`` item
Arguments{"key1":"value1","key2":"value2"}
body: application/json: schema: addOrders example: | { "controllerId": "jobscheduler", "orders": [{ "orderId": "order1", "workflowPath": "/test/testWorkflow", "scheduledFor": "now + 60" }, { "orderId": "order2", "workflowPath": "/test/testWorkflow" }, { "orderId": "order3", "workflowPath": "/test/testWorkflow" }, { "orderId": "order4", "workflowPath": "/test/testWorkflow" }, { "orderId": "order5", "workflowPath": "/test/testWorkflow" }] } responses: 200: description: Returns the orderIds that are tried to add. body: application/json: schema: orderIds example: | { "deliveryDate":"2020-11-20T21:13:35Z", "orderIds": [ "#2020-11-20#T835857946-Test0000000055" ] } 419: