All objects

WcsNotification

{
  "type": "TASK_STATE_CHANGED",
  "taskId": "<string>",
  "state": "ACCEPTED",
  "operation": [
    {
      "operationId": "<string>",
      "state": "PLANNED",
      "result": {
        "outcome": "SUCCESS",
        "requested": 123,
        "unit": "<string>",
        "picked": 123,
        "placed": 123,
        "dropped": 123,
        "errorCode": "<string>",
        "errorDescription": "<string>",
        "sourceBin": {
          "empty": true,
          "quantityRemaining": 123
        },
        "targetBin": {
          "full": true
        },
        "validationIssues": [
          {
            "code": "NEGATIVE_EXECUTION_QUANTITY",
            "fields": [
              "<string>"
            ]
          }
        ]
      }
    }
  ],
  "cancellationRequested": true,
  "reasonCode": "<string>",
  "executionFinished": true
}
TASK_STATE_CHANGED
object

Hide child attributes

type
enum<string>required
Available options: TASK_STATE_CHANGED
taskId
stringrequired
state
enum<string>required
Available options: ACCEPTED, IN_PROGRESS, RECONCILIATION_REQUIRED, COMPLETED, CANCELLATION_REQUESTED, CANCELLED, FAILED
operation
object[]required

Hide child attributes

operation.operationId
stringrequired
operation.state
enum<string>required
Available options: PLANNED, SUBMISSION_PENDING, SUBMISSION_UNKNOWN, WAITING_FOR_SOURCE, WAITING_FOR_TARGET, COMPLETED, REJECTED, NOT_EXECUTED, CANCELLATION_REQUESTED, IN_PROGRESS
operation.result
object | null

Hide child attributes

operation.result.outcome
enum<string>required
Available options: SUCCESS, PARTIAL, FAILED, UNKNOWN
operation.result.requested
numberrequired
operation.result.unit
stringrequired
operation.result.picked
number | null
operation.result.placed
number | null
operation.result.dropped
number | null
operation.result.errorCode
string | null
operation.result.errorDescription
string | null
operation.result.sourceBin
object | null

Hide child attributes

operation.result.sourceBin.empty
boolean | null

Whether the station reported the source empty. False is an observed value.

operation.result.sourceBin.quantityRemaining
number | null

Nonnegative remaining quantity in the operation unit. Negative reports, including -1, are omitted and audited; your WCS owns inventory reconciliation.

operation.result.targetBin
object | null

Hide child attributes

operation.result.targetBin.full
boolean | null

Whether the station reported the target full. False is an observed value.

operation.result.validationIssues
object[]

Omitted when empty. A counting warning can accompany success; invalid execution quantities produce UNKNOWN with INVALID_ARM_RESULT.

Hide child attributes

operation.result.validationIssues.code
enum<string>required

NEGATIVE_SOURCE_REMAINING is a counting warning only. Other codes invalidate the execution quantities and require reconciliation.

Available options: NEGATIVE_EXECUTION_QUANTITY, PLACED_EXCEEDS_REQUESTED, ACCOUNTED_EXCEEDS_PICKED, NEGATIVE_SOURCE_REMAINING
operation.result.validationIssues.fields
string[]required

Affected fields in the operation result.

cancellationRequested
boolean

Cancellation was requested; active work may still finish.

reasonCode
string | null

Reason that execution stopped or requires reconciliation.

executionFinished
boolean | null

New responses/events report whether Motion will prepare further physical work for this task. True frees execution but accounting can still require review. Absent in older payloads means unknown.

OPERATION_STATE_CHANGED
object

Hide child attributes

type
enum<string>required
Available options: OPERATION_STATE_CHANGED
taskId
stringrequired
operationId
stringrequired
state
enum<string>required
Available options: PLANNED, SUBMISSION_PENDING, SUBMISSION_UNKNOWN, WAITING_FOR_SOURCE, WAITING_FOR_TARGET, COMPLETED, REJECTED, NOT_EXECUTED, CANCELLATION_REQUESTED, IN_PROGRESS
result
object | null

Hide child attributes

result.outcome
enum<string>required
Available options: SUCCESS, PARTIAL, FAILED, UNKNOWN
result.requested
numberrequired
result.unit
stringrequired
result.picked
number | null
result.placed
number | null
result.dropped
number | null
result.errorCode
string | null
result.errorDescription
string | null
result.sourceBin
object | null

Hide child attributes

result.sourceBin.empty
boolean | null

Whether the station reported the source empty. False is an observed value.

result.sourceBin.quantityRemaining
number | null

Nonnegative remaining quantity in the operation unit. Negative reports, including -1, are omitted and audited; your WCS owns inventory reconciliation.

result.targetBin
object | null

Hide child attributes

result.targetBin.full
boolean | null

Whether the station reported the target full. False is an observed value.

result.validationIssues
object[]

Omitted when empty. A counting warning can accompany success; invalid execution quantities produce UNKNOWN with INVALID_ARM_RESULT.

Hide child attributes

result.validationIssues.code
enum<string>required

NEGATIVE_SOURCE_REMAINING is a counting warning only. Other codes invalidate the execution quantities and require reconciliation.

Available options: NEGATIVE_EXECUTION_QUANTITY, PLACED_EXCEEDS_REQUESTED, ACCOUNTED_EXCEEDS_PICKED, NEGATIVE_SOURCE_REMAINING
result.validationIssues.fields
string[]required

Affected fields in the operation result.

BIN_RELEASED
object

Hide child attributes

type
enum<string>required
Available options: BIN_RELEASED
taskId
stringrequired
operationId
stringrequired
role
enum<string>required
Available options: SOURCE
portId
stringrequired
binId
stringrequired
STATION_STATE_CHANGED
object

Hide child attributes

type
enum<string>required
Available options: STATION_STATE_CHANGED
state
stringrequired
observedAt
stringrequired
reasonCode
string | null
sequence
integer | null

Local receipt sequence, not a supplier generation sequence. Absent in older messages.