Get a list of process instances
Request
POST /pub/v1/bpm/instance/bytemplate/{namespace}/{code}/list
Path parameters
| Parameter name | Value | Description | Additional |
|---|---|---|---|
| namespace | string | Required | |
| code | string | Required |
Request body
The resource sent in the request body is Get a list of process instances — Request. It contains the following writable properties:
{
"active": "boolean",
"fields": {},
"filter": {
"<key>": {}
},
"from": "int64",
"ids": [
"uuid"
],
"size": "int64",
"sortExpressions": [
{
"ascending": "boolean",
"field": "string"
}
]
}
Properties
| Name | Type | Description | Additional |
|---|---|---|---|
| active | boolean |
Show only active (not deleted) |
Optional |
| fields | object |
Field load rules |
Optional |
| filter | object |
Filter |
Optional |
| filter.<key> | map of object | Optional | |
| from | int64 |
Return from item |
Optional |
| ids[] | array of uuid |
ID Filetering |
Optional |
| size | int64 |
Number of returned items (10000 max) |
Optional |
| sortExpressions[] | array |
Sorting rules |
Optional |
| sortExpressions[].ascending | boolean |
Ascending sorting order flag |
Optional |
| sortExpressions[].field | string |
Sort field |
Optional |
Authorization
This request requires the use of one of following authorisation methods:
API key
Response
The following HTTP status codes may be returned:
| Status code | Description | Resource |
|---|---|---|
| 200 | OK Model of the list of process instances |
Model of the list of process instances (Get a list of process instances) |
| 400 | Bad Request Invalid request parameters |