/orders/cancel
POST
Cancel orders
Parameters in the POST body schema
Name | Type | Description | Example | Default |
---|---|---|---|---|
controllerId |
required, string | Controller ID | myController | |
orderIds |
optional, array | Specified the order ids which should be modified. If this parameter is specified then the parameters workflowIds , folders and states where applicable are ignored. |
[
"daily"
] |
|
workflowIds |
optional, array[object] | Filtered response by a collection of workflows specified by its path and optional version If this parameter is specified the parameter folders where applicable are ignored. |
[{
"path": "/path/to/workflow",
"versionId": "c79caab4-4e72-4818-bae7-902f1037d8b6"
}] |
|
path |
required, string | Field for each item in workflowIds to specify the path of a workflow |
||
version |
optional, string | Field for each in workflowIds to specify the version of a workflow |
||
folders |
optional, array[object] | Limits the result to a collection of folders | [{
"folder": "/sos",
"recursive": true
}] |
|
states |
optional, array | Filtered all orders with states such as
|
["SUSPENDED"] | |
dateTo |
optional, string | The value has to have the format YYYY-MM-DD Returns dates older than this date. A calendar "to" attribute further limits results. |
2021-12-31 | |
timeZone |
optional, string | See here the list for available time zones. | Europe/Berlin | Etc/UTC |
kill |
optional, boolean | without a signal(false) or with SIGTERM(true) | without a signal(false) | |
deep |
optional, boolean | if true then child orders are also processed | false | |
auditLog |
optional, object | Object that contains comment , timeSpent and ticketLink . |
{ "comment": "Operational requirement!", "timeSpent": 2 } |
|
comment |
optional, string | Field in auditLog to comment this action, e.g. the reason. |
||
timeSpent |
optional, integer | Field in auditLog to enter the time spent in minutes. |
||
ticketLink |
optional, string | Field in auditLog to enter a link to a corresponding ticket. |
Request