Get the latest labor plan Workforce Management reported for a path
GET/paths/:pathId/labor-plan-view
Returns the LaborPlanObserved read model — the latest planned_heads/planned_rate/planned_hours Workforce Management published on its ShiftPlanCommitted integration event for this path, projected via the Kafka consumer (Task 7). This is a read-only projection from a DIFFERENT bounded context's ShiftPlan concept. 404 until at least one ShiftPlanCommitted event has been observed for the path.
Request
Responses
- 200
- 400
- 404
- 500
Latest observed labor plan for this path.
Malformed request body (invalid JSON), a missing required field (silently-defaulted zero values are never accepted), an invalid field value (e.g. negative quantity, empty path id), a pathId outside the deployment's declared process-path families (unknown-path-id), or a malformed query parameter (e.g. empty or non-RFC3339 cutoffAt), or a NUL character (U+0000) in the body or the query string (malformed-request-body: Postgres text cannot hold it, ADR-0044).
No ShiftPlanCommitted event has been observed for this path yet.
An unexpected server-side failure (e.g. a repository or event-publisher error).