Declare the throughput of ONE station of a process at a site
PUT/station-standards/:location/:process_type
Upserts the StationStandard keyed by (location, process_type): the throughput of a single station in the process's natural unit, e.g. 180 PACKAGE per 3600 s for PACK at SIM1. The count of stations comes from facility-layout; count x standard is composed with the step's registered constraints when a path capacity or capacity plan is computed (nothing derived is stored, so a late declaration applies on the next read). location is the site (building) code, the first dash-separated segment of the facility zone ids.
Request
Responses
- 200
- 201
- 400
- 422
- 500
An existing standard was replaced.
A new standard was declared.
Malformed request body.
Invalid declaration: non-positive or negative quantity, non-positive period, or a unit that cannot be normalized to ORDER (only UNIT, PACKAGE and ORDER are accepted).
An unexpected failure (a store or outbox error). Answered as problem+json (internal-error). A 5xx answer is never stored under an Idempotency-Key and rolls back the aggregate change and its outbox rows, so the retry re-executes.