Search decanting tasks
curl --request POST \
--url https://rologi-flow.example.com/api/decanting-tasks \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Ras-Api-Version: 1' \
--data '
{
"filter": {
"type": "QUERY",
"query": [
{
"field": "state",
"operator": "in",
"value": [
"COMPLETED",
"CANCELED",
"FAILED"
]
}
]
},
"page": {
"number": 1,
"size": 50,
"sort": "state desc, name"
},
"search": "chocolate"
}
'{
"content": [
{
"id": "12345",
"site": "1000",
"system": "AS1",
"state": "CREATED",
"container": {
"type": "TOTE",
"variant": "TOTE-S",
"lpn": "TOTE-001-001",
"location": "AS1-01-001"
},
"createdAt": "2025-11-01T08:15:30.125Z",
"updatedAt": "2025-11-01T09:42:10.500Z",
"lines": [
{
"id": "1",
"state": "CREATED",
"item": "digital-camera",
"quantity": {
"amount": 3,
"unit": "PIECE"
},
"createdAt": "2025-11-01T08:15:30.125Z",
"updatedAt": "2025-11-01T09:42:10.500Z",
"priorityTimestamp": "2025-11-01T10:30:00Z",
"priority": 1,
"container": {
"type": "TOTE",
"variant": "TOTE-S",
"lpn": "TOTE-001-001",
"location": "AS1-01-001"
},
"expiryDate": "2025-12-31",
"lotNumber": "XYZ24041508A",
"batchNumber": "X24078",
"finishedAt": "2025-11-01T10:05:00.000Z"
}
],
"name": "Morning DHL delivery 2025-11-01",
"priorityTimestamp": "2025-11-01T10:30:00Z",
"priority": 1,
"type": "GOODS_RECEIPT",
"traits": {
"deliveryNote": "DN-2025-000456"
},
"finishedAt": "2025-11-01T10:05:00.000Z"
}
],
"page": {
"number": 1,
"size": 50,
"totalElements": 123,
"totalPages": 123
}
}Returns a paged list of Decanting Tasks matching the free text and the filter. Searching, filtering, and sorting apply to all Decanting Tasks before the page is cut.
Authorizations
JWT bearer token authentication.
Parameters
1 Body
Optional query filter. Currently only `FilterQuery` (type `QUERY`) is supported.
Hide child attributes
Hide child attributes
List of conditions. All conditions must match (logical AND).
Hide child attributes
Hide child attributes
Entity field name to filter on.
Comparison operator.
is, eq, ne, co, sw, ew, gt, gte, lt, lte, in Value to compare against. Type depends on the field and operator (scalar or collection for `in`). The server coerces JSON values to the entity field type (e.g. TSID as base32 string, enum constant name, ISO-8601 instant). Use `true` or `false` with operator `is` for null checks.
QUERY type discriminator.
QUERY, SCANCODE Paging and sort parameters. When not specified it defaults to page number 1, size 50, and unsorted.
Hide child attributes
Hide child attributes
Page number (1..n).
Number of items per page.
Optional sort criteria as a compact string. Defaults to unsorted if not given.
Optional free text. A resource matches when any of its searchable fields contains the text, ignoring case. The text is taken as a whole, without wildcards. Combined with `filter` using logical AND.
Response
OK
Items for this page (length may be less than the requested size on the last page).
Hide child attributes
Hide child attributes
Unique identifier of the Decanting Task.
Identifier of the site or warehouse.
Identifier of the automation system within the site or warehouse.
Current state of the Decanting Task.
CREATED, IN_PROGRESS, REVOKED, COMPLETED, CANCELED, FAILED The container from which the items of this Decanting Task are sourced.
Hide child attributes
Hide child attributes
Type of the container.
PALLET, CART, PUT_WALL, TOTE, CRATE, BOX, BAG, SLOT, AUTOSTORE_BIN, WELAND_TRAY Optional container variant (for example size or model).
License plate number, barcode, or other scannable identifier of the container.
Optional physical location of the container.
Time when the Decanting Task was created in Rologi Flow, e.g. received from the integrated system. It is not the start of its execution.
Time of the latest change of the Decanting Task recorded in Rologi Flow. It is not the time of its completion.
List of this Decanting Task Lines.
Hide child attributes
Hide child attributes
Identifier of the Decanting Task Line, it needs to be unique in the context of a single Decanting Task.
Current state of the Decanting Task Line.
CREATED, IN_PROGRESS, REVOKED, COMPLETED, CANCELED, FAILED Stock keeping unit identifier.
Quantity to be decanted.
Hide child attributes
Hide child attributes
Numeric value representing the quantity amount.
Unit of measure for the quantity, such as pieces or grams. If not given, the default unit of measure applies, which is pieces unless agreed otherwise.
PIECE, GRAM, KILOGRAM Time when the Decanting Task Line was created in Rologi Flow, e.g. received from the integrated system. It is not the start of its execution.
Time of the latest change of the Decanting Task Line recorded in Rologi Flow. It is not the time of its completion.
Line-level priority key, earlier first; missing values sort last. Rounded to whole seconds.
Line-level priority key, lower value first (0 is the highest priority); missing values sort last.
The optional container in which the items are placed.
Hide child attributes
Hide child attributes
Type of the container.
PALLET, CART, PUT_WALL, TOTE, CRATE, BOX, BAG, SLOT, AUTOSTORE_BIN, WELAND_TRAY Optional container variant (for example size or model).
License plate number, barcode, or other scannable identifier of the container.
Optional physical location of the container.
Optional expiry date of the item.
Optional lot number of the item.
Optional batch number of the item.
Time when the Decanting Task Line reached a final state, whichever it is, see its state for the outcome. Not given until then.
Optional name for the Decanting Task.
Task-level priority key, earlier first; missing values sort last. Rounded to whole seconds.
Task-level priority key, lower value first (0 is the highest priority); missing values sort last.
Optional type of the Decanting Task.
Free-form key/value traits of the Decanting Task as supplied by the integrated system. Not given when none were supplied.
Time when the Decanting Task reached a final state, whichever it is, see its state for the outcome. Not given until then.
Paging metadata for this response.
Hide child attributes
Hide child attributes
1-based index of this page (same convention as paging request parameter `number`).
Page size requested (maximum number of items per page).
Total number of matching items across all pages.
Total number of pages for the query at the requested page size.