Integrate

Callback events

Every event category with complete receiver URLs, headers and bodies.

Rologi Motion sends all four event categories to one receiver URL configured for your WCS. Route each message by data.type; no separate endpoint per event is required.

Optional result observations describe source emptiness, remaining quantity and target fullness. Missing observations stay absent; zero and false are reported values. Your WCS owns stock reconciliation, and these flags do not authorize movement or automatically pause further operations.

The examples use independent receiver credentials. Each delivery includes Ras-Site and Ras-Station. metadata.createdAt is when Rologi Motion created the event, not a timestamp measured by the arm.

EventWhen it is sent
TASK_STATE_CHANGEDThe task state or its operation summary changes. Inspect the operation results as well as the parent state.
OPERATION_STATE_CHANGEDOne contribution changes state or receives a terminal result. COMPLETED means its execution ended; result.outcome describes success, partial work, failure or unknown counts.
BIN_RELEASEDVerified permission to exchange the identified source bin. This event does not authorize moving the target or prove that placement is complete.
STATION_STATE_CHANGEDAn authenticated station callback reports its state. reasonCode carries the station error code when supplied; observedAt is the time Rologi Motion observed the callback.

Task state changed

The task state or its operation summary changes. Inspect the operation results as well as the parent state.

  • Progress
  • Completed
  • Cancelled
  • Needs reconciliation

After operation OP-1 finishes, OP-2 still remains. The task is IN_PROGRESS.

POST https://wcs.example.com/api/event
Authorization: Bearer <receiver-token>
Ras-Site: WAREHOUSE-01
Ras-Station: ARM-01
Content-Type: application/json

{
  "metadata": {
    "messageId": "RP-TASK-PROGRESS",
    "createdAt": "2026-10-22T09:00:11.000Z"
  },
  "data": {
    "type": "TASK_STATE_CHANGED",
    "taskId": "TASK-200",
    "state": "IN_PROGRESS",
    "operation": [
      {
        "operationId": "OP-1",
        "state": "COMPLETED",
        "result": {
          "outcome": "SUCCESS",
          "requested": 1,
          "unit": "PIECE",
          "picked": 1,
          "placed": 1,
          "dropped": 0,
          "sourceBin": {
            "empty": false,
            "quantityRemaining": 18
          },
          "targetBin": {
            "full": false
          }
        }
      },
      {
        "operationId": "OP-2",
        "state": "PLANNED"
      }
    ]
  }
}

Operation state changed

One contribution changes state or receives a terminal result. COMPLETED means its execution ended; result.outcome describes success, partial work, failure or unknown counts.

  • Success
  • Partial result
  • Unknown counts

The station reports successful completion of OP-1. This does not complete the parent task while OP-2 remains.

POST https://wcs.example.com/api/event
Authorization: Bearer <receiver-token>
Ras-Site: WAREHOUSE-01
Ras-Station: ARM-01
Content-Type: application/json

{
  "metadata": {
    "messageId": "RP-OPERATION-SUCCESS",
    "createdAt": "2026-10-22T09:00:10.000Z"
  },
  "data": {
    "type": "OPERATION_STATE_CHANGED",
    "taskId": "TASK-200",
    "operationId": "OP-1",
    "state": "COMPLETED",
    "result": {
      "outcome": "SUCCESS",
      "requested": 1,
      "unit": "PIECE",
      "picked": 1,
      "placed": 1,
      "dropped": 0,
      "sourceBin": {
        "empty": false,
        "quantityRemaining": 18
      },
      "targetBin": {
        "full": false
      }
    }
  }
}

Bin released

Verified permission to exchange the identified source bin. This event does not authorize moving the target or prove that placement is complete.

Only after correlated, commissioned station evidence confirms that source bin 101 may be exchanged. The arm can still be waiting for the target.

POST https://wcs.example.com/api/event
Authorization: Bearer <receiver-token>
Ras-Site: WAREHOUSE-01
Ras-Station: ARM-01
Content-Type: application/json

{
  "metadata": {
    "messageId": "RP-SOURCE-RELEASE",
    "createdAt": "2026-10-22T09:00:06.000Z"
  },
  "data": {
    "type": "BIN_RELEASED",
    "taskId": "TASK-200",
    "operationId": "OP-1",
    "role": "SOURCE",
    "portId": "SOURCE-1",
    "binId": "101"
  }
}

Source-release notification must be enabled only after its station evidence is commissioned. A jobless readiness callback, a false readiness flag or an unverified source does not produce a release. Report the departed bin as ABSENT after acting on a release.

Station state changed

An authenticated station callback reports its state. reasonCode carries the station error code when supplied; observedAt is the time Rologi Motion observed the callback.

  • Station fault
  • Operational

When an authenticated station status callback reports a fault. The event is independent of any task and has no invented taskId.

POST https://wcs.example.com/api/event
Authorization: Bearer <receiver-token>
Ras-Site: WAREHOUSE-01
Ras-Station: ARM-01
Content-Type: application/json

{
  "metadata": {
    "messageId": "RP-STATION-FAULT",
    "createdAt": "2026-10-22T09:00:40.000Z"
  },
  "data": {
    "type": "STATION_STATE_CHANGED",
    "state": "FAULT",
    "observedAt": "2026-10-22T09:00:40.000Z",
    "reasonCode": "GRIPPER_FAILURE"
  }
}

Acknowledge and deduplicate

Store or process the message durably, deduplicate metadata.messageId, then respond with a 2xx status. Duplicate messages must receive a successful acknowledgment without repeating your business action.

HTTP/1.1 200 OK

Delivery failures are retried with the same message ID, creation time and payload. Rologi Motion sends pending events in station order. Arrival time can be later than createdAt. A source-release event remains distinct from operation completion and task completion.

See the receiver contract for the full schema and capability coverage for fields the typed events do not currently expose.