Skip to main content

Check a worker or robot into a station

POST 

/stations/:stationId/check-ins

Assigns an occupant to a station — the Station aggregate's CheckIn invariant enforced through the application layer: one occupant at a time. This is operational state, not a labor-performance domain event in its own right (see ADR-0014): no domain event is published by this endpoint. The checked-in occupant is instead surfaced, best-effort, as associateId on the TaskCompleted Kafka event when a task claimed by this station is later completed.

Request​

Responses​

Station checked in.

Response Headers
    Idempotency-Replayed

    Present, with the value true, ONLY when this answer is the stored replay of an earlier request that used the same Idempotency-Key (the handler did not run again). The first execution never carries it.