/orders
POST
Returns a collection of orders filtered by workflow or order state
Parameters in the POST body schema
Name | Type | Description | Example | Default |
---|---|---|---|---|
controllerId |
required, string | Controller ID | myController | |
orderIds |
optional, array | Response contains all orders except the orders that are specified in this collection. If this parameter is specified then parameters such as workflowIds , folders and regex where applicable are ignored. |
[
"myOrder",
"myOrder2"
] |
|
workflowIds |
optional, object | Filtered response by a collection of workflows specified by its path and optional version If this parameter is specified then parameters such as folders and regex 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 |
||
versionId |
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
}] |
|
compact |
optional, boolean | A compact response is returned if this parameter is true | false | |
regex |
optional, string | Regular expression to filter the collection | .* | |
states |
optional, array | Filtered all orders with states such as
|
["SUSPENDED"] | |
dateTo |
optional, string | The value has multiple formats
|
1d | |
timeZone |
optional, string |
|
Europe/Berlin | |
limit |
optional, integer | Limits the number of resulting items, -1=unlimited | 5000 | 10000 |
Request