Bin

Report bin state

POST
/api/bin/state
Report bin state
curl --request POST \
  --url https://rologi-motion.example.com/api/bin/state \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'Ras-Api-Version: 1' \
  --header 'Ras-Site: WAREHOUSE-01' \
  --header 'Ras-Station: ARM-01' \
  --data '
{
  "metadata": {
    "messageId": "WCS-BIN-101-READY",
    "createdAt": "2026-10-21T09:00:05Z"
  },
  "data": {
    "portId": "SOURCE-1",
    "binId": "101",
    "state": "READY"
  }
}
'
{
  "portId": "SOURCE-1",
  "binId": "101",
  "state": "READY",
  "observedAt": "2026-10-21T09:00:05Z"
}

Report READY with portId and binId when a bin is available, or ABSENT with the identity of the bin that left. A target already present can be READY in the task and remain available for later tasks. Repeat the original message identity and body after unknown delivery. Serialize reports per port and wait for acknowledgment before the next change.

Related guide: Picking workflow.

Authorizations

Authorization
stringheaderrequired

JWT for your integration. Rologi Motion checks the issuer, the audience and the allowlist for your direction.

Parameters

Ras-Site
stringheaderrequired

Supply exactly one nonempty value authorized for this integration.

Ras-Station
stringheaderrequired

Supply exactly one nonempty value authorized for this integration.

Ras-Api-Version
stringheader

API version. Omit to use the oldest supported version; currently 1.

Body

application/json
metadata
objectrequired

Hide child attributes

metadata.messageId
stringrequired

Stable logical-message identity. Preserve it and the complete payload across delivery retries.

metadata.createdAt
stringrequired

UTC time when the sender first created this message; preserved across retries.

data
objectrequired

Hide child attributes

data.portId
stringrequired
data.binId
stringrequired
data.state
enum<string>required

READY identifies the current bin. ABSENT identifies the bin that left; binId remains required.

Available options: ABSENT, READY

Response

application/json

Bin observation durably accepted; repeated READY does not create a new arrival.

portId
stringrequired
binId
string | nullrequired
state
enum<string>required
Available options: ABSENT, READY
observedAt
stringrequired