type: error
post:
description: |
Resume suspended orders with optional different parameters
This resource can be used in the GUI for two functions
- resume
- resume parametrised (with ``params``)
___
Parameters in the POST body schema
| Name | Type | Description | Example | Default |
| ``jobschedulerId`` | required, string | JobScheduler Master ID | scheduler | |
| ``orders`` | required, array |
Specified the orders which should be modified. |
[{
"jobChain":"/sos/reporting/Inventory",
"orderId":"Inventory"
}] |
|
| ``params`` | optional, array field of each ``orders`` item | Parameter | params:[{"name":"...","value":"..."}] | |
<>
body:
application/json:
schema: modifyOrders
example: |
{
"jobschedulerId": "scheduler",
"orders": [{
"orderId": "order1",
"jobChain": "/test/testJobChain"
}, {
"orderId": "order2",
"jobChain": "/test/testJobChain"
}, {
"orderId": "order3",
"jobChain": "/test/testJobChain"
}, {
"orderId": "order4",
"jobChain": "/test/testJobChain"
}, {
"orderId": "order5",
"jobChain": "/test/testJobChain"
}]
}
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: