Putaway tasks

Search putaway tasks

POST
/api/putaway-tasks
Search Putaway Tasks.
curl --request POST \
  --url https://rologi-flow.example.com/api/putaway-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 Putaway Tasks matching the free text and the filter. Searching, filtering, and sorting apply to all Putaway Tasks before the page is cut.

Authorizations

Authorization
stringheaderrequired

JWT bearer token authentication.

Parameters

Ras-Api-Version
enum<string>header
Available options: 1

Body

application/json
filter
object | null

Optional query filter. Currently only `FilterQuery` (type `QUERY`) is supported.

Hide child attributes

filter.query
object[]required

List of conditions. All conditions must match (logical AND).

Hide child attributes

filter.query.field
stringrequired

Entity field name to filter on.

filter.query.operator
enum<string>required

Comparison operator.

Available options: is, eq, ne, co, sw, ew, gt, gte, lt, lte, in
filter.query.value
string | number | integer | boolean | array | null

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.

filter.type
enum<string>required

QUERY type discriminator.

Available options: QUERY, SCANCODE
page
object

Paging and sort parameters. When not specified it defaults to page number 1, size 50, and unsorted.

Hide child attributes

page.number
integer

Page number (1..n).

page.size
integer

Number of items per page.

page.sort
string

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

application/json

OK

content
object[]required

Items for this page (length may be less than the requested size on the last page).

Hide child attributes

content.id
stringrequired

Unique identifier of the Putaway Task.

content.site
stringrequired

Identifier of the site or warehouse.

content.system
stringrequired

Identifier of the automation system within the site or warehouse into which stock will be be placed.

content.state
enum<string>required

Current state of the Putaway Task.

Available options: CREATED, ACTIVATED, IN_PROGRESS, REVOKED, COMPLETED, CANCELED, FAILED
content.container
objectrequired

The container from which the items of this Putaway Task are sourced.

Hide child attributes

content.container.type
enum<string>required

Type of the container.

Available options: PALLET, CART, PUT_WALL, TOTE, CRATE, BOX, BAG, SLOT, AUTOSTORE_BIN, WELAND_TRAY
content.container.variant
string | null

Optional container variant (for example size or model).

content.container.lpn
string | null

License plate number, barcode, or other scannable identifier of the container.

content.container.location
string | null

Optional physical location of the container.

content.createdAt
stringrequired

Time when the Putaway Task was created in Rologi Flow, e.g. received from the integrated system. It is not the start of its execution.

content.updatedAt
stringrequired

Time of the latest change of the Putaway Task recorded in Rologi Flow. It is not the time of its completion.

content.lines
object[]required

List of this Putaway Task Lines.

Hide child attributes

content.lines.id
stringrequired

Identifier of the Putaway Task Line, it needs to be unique in the context of a single Putaway Task.

content.lines.state
enum<string>required

Current state of the Putaway Task Line.

Available options: CREATED, IN_PROGRESS, REVOKED, COMPLETED, CANCELED, FAILED
content.lines.item
stringrequired

Stock keeping unit identifier.

content.lines.quantity
objectrequired

Quantity to be put away.

Hide child attributes

content.lines.quantity.amount
number

Numeric value representing the quantity amount.

content.lines.quantity.unit
enum<string> | null

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.

Available options: PIECE, GRAM, KILOGRAM
content.lines.createdAt
stringrequired

Time when the Putaway Task Line was created in Rologi Flow, e.g. received from the integrated system. It is not the start of its execution.

content.lines.updatedAt
stringrequired

Time of the latest change of the Putaway Task Line recorded in Rologi Flow. It is not the time of its completion.

content.lines.priorityTimestamp
string | null

Line-level priority key, earlier first; missing values sort last. Rounded to whole seconds.

content.lines.priority
integer | null

Line-level priority key, lower value first (0 is the highest priority); missing values sort last.

content.lines.container
object | null

The optional container in which the items are placed to be put away.

Hide child attributes

content.lines.container.type
enum<string>required

Type of the container.

Available options: PALLET, CART, PUT_WALL, TOTE, CRATE, BOX, BAG, SLOT, AUTOSTORE_BIN, WELAND_TRAY
content.lines.container.variant
string | null

Optional container variant (for example size or model).

content.lines.container.lpn
string | null

License plate number, barcode, or other scannable identifier of the container.

content.lines.container.location
string | null

Optional physical location of the container.

content.lines.expiryDate
string | null

Optional expiry date of the item.

content.lines.lotNumber
string | null

Optional lot number of the item.

content.lines.batchNumber
string | null

Optional batch number of the item.

content.lines.finishedAt
string | null

Time when the Putaway Task Line reached a final state, whichever it is, see its state for the outcome. Not given until then.

content.name
string | null

Optional name for the Putaway Task.

content.priorityTimestamp
string | null

Task-level priority key, earlier first; missing values sort last. Rounded to whole seconds.

content.priority
integer | null

Task-level priority key, lower value first (0 is the highest priority); missing values sort last.

content.type
string | null

Optional type of the Putaway Task.

content.traits
object | null

Free-form key/value traits of the Putaway Task as supplied by the integrated system. Not given when none were supplied.

content.finishedAt
string | null

Time when the Putaway Task reached a final state, whichever it is, see its state for the outcome. Not given until then.

page
objectrequired

Paging metadata for this response.

Hide child attributes

page.number
integerrequired

1-based index of this page (same convention as paging request parameter `number`).

page.size
integerrequired

Page size requested (maximum number of items per page).

page.totalElements
integerrequired

Total number of matching items across all pages.

page.totalPages
integerrequired

Total number of pages for the query at the requested page size.