Search pick tasks
curl --request POST \
--url https://rologi-flow.example.com/api/pick-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": "1234",
"site": "1000",
"system": "AS1",
"state": "CREATED",
"name": "Morning DHL transfer 2025-10-12",
"priorityTimestamp": "2025-11-01T10:30:00Z",
"priority": 1,
"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",
"expiryDateRange": {
"min": "2025-12-31",
"max": "2026-12-31"
},
"lotNumber": "XYZ24041508A",
"batchNumber": "X24078",
"startedAt": "2025-11-01T09:12:45.250Z",
"finishedAt": "2025-11-01T10:05:00.000Z"
}
],
"type": "CUSTOMER_ORDER",
"traits": {
"orderId": "SO-2025-000123"
},
"pickTaskGroup": "NF27CH7D6W00",
"startedAt": "2025-11-01T09:12:45.250Z",
"finishedAt": "2025-11-01T10:05:00.000Z"
}
],
"page": {
"number": 1,
"size": 50,
"totalElements": 123,
"totalPages": 123
}
}Returns a paged list of Pick Tasks matching the free text and the filter. Searching, filtering, and sorting apply to all Pick 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 Pick Task.
Identifier of the site or warehouse.
Location of the stock to be picked from an automation technology in the site or warehouse.
Current state of the Pick Task.
CREATED, GROUPING_RESOLVED, ALLOCATION_RESOLVED, SUBMITTED, PICKING, REVOKED, COMPLETED, CANCELED, FAILED Optional name for the Pick Task.
Timestamp used for priority ordering of Pick Tasks.
Priority within the same priority timestamp. Lower values indicate higher priority.
Time when the Pick 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 Pick Task recorded in Rologi Flow. It is not the time of its completion.
List of this Pick Task Lines.
Hide child attributes
Hide child attributes
Identifier of the Pick Task Line, it needs to be unique in the context of a single Pick Task.
Current state of the Pick Task Line.
CREATED, SUBMITTED, PICKING, COMPLETED, SHORT_PICKED, CANCELED, FAILED Stock keeping unit identifier.
Quantity to be picked.
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 Pick 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 Pick Task Line recorded in Rologi Flow. It is not the time of its completion.
Optional expiry date range for the item. Specifies minimum and/or maximum expiry dates.
Hide child attributes
Hide child attributes
Optional minimum date of the range. If not specified, any date is acceptable as the minimum.
Optional maximum date of the range. If not specified, any date is acceptable as the maximum.
Optional lot number of the item.
Optional batch number of the item.
Time when the picking of the Pick Task Line started by its first pick. Not given until then.
Time when the Pick Task Line reached a final state, whichever it is, see its state for the outcome. Not given until then.
Optional type of the Pick Task.
Free-form key/value traits of the Pick Task as supplied by the integrated system. Not given when none were supplied.
Optional Pick Task Group identifier. Pick Tasks may be grouped together for batch processing.
Time when the picking of the Pick Task started by its first pick. Not given until then.
Time when the Pick 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.