Skip to main content

FormWorkBatchResponse

batch objectnullable

The formed walk, or null when the anchor was claimed as an ordinary single task because it has no pick face (ADR 0062) — the claim stands exactly as task-claims would have left it.

batch_idstringrequired

Server-generated work batch id.

Example: wb-20260101T120000.000000000
station_idstringrequired

The station holding the walk.

Example: station-1
statusstringrequired

OPEN while any member is still open; COMPLETED when the last open member completed; ABANDONED when every member left without completing.

Possible values: [OPEN, COMPLETED, ABANDONED]

Example: OPEN
cptstring<date-time>required

The batch's priority band — every member shares this CPT instant.

Example: 2026-01-01T18:00:00Z
formed_atstring<date-time>required

The formation instant; the walk's walk_seconds on WorkBatchCompleted is measured from it.

Example: 2026-01-01T12:00:00Z
members object[]required

Possible values: >= 1

  • Array [
  • task_idstringrequired

    The member PICK task's id.

    Example: 20260101T120000.000000000
    stop_seqintegerrequired

    The 1-based visit order of this stop (hint rank order, ADR 0063 D6).

    Possible values: >= 1

    Example: 1
    compartmentintegerrequired

    The cart position holding this task's items; v1 assigns it by stop order.

    Possible values: >= 1

    Example: 1
    statestringrequired

    The member's state inside the walk. DETACHED means the task's lease expired and it returned to the pool through the existing sweep.

    Possible values: [OPEN, COMPLETED, DETACHED]

    Example: OPEN
  • ]
  • anchor_task_idstringrequired

    The task ClaimNext would have returned — batching never changes who goes first.

    Example: 20260101T120000.000000000
    FormWorkBatchResponse
    {
    "batch": {
    "batch_id": "wb-20260101T120000.000000000",
    "station_id": "station-1",
    "status": "OPEN",
    "cpt": "2026-01-01T18:00:00Z",
    "formed_at": "2026-01-01T12:00:00Z",
    "members": [
    {
    "task_id": "20260101T120000.000000000",
    "stop_seq": 1,
    "compartment": 1,
    "state": "OPEN"
    }
    ]
    },
    "anchor_task_id": "20260101T120000.000000000"
    }