Skip to main content

Get the currently-active labor standard for a TaskType

GET 

/standards/:taskType

Returns the LaborStandard whose effective range currently covers "now" for this TaskType (EffectiveTo is null), or a 404 if none does.

Without handlingUnit the answer is the task-type-only standard, exactly as before. With handlingUnit the answer is the standard that APPLIES to that handle: the standard declared for exactly (taskType, handlingUnit) when one is active, otherwise the task-type-only standard (most specific wins, ADR 0035). The returned body's own handlingUnit says which of the two answered (absent = the task-type-only one).

Without siteCode the answer is always a site-less standard, exactly as before. With siteCode the answer is the open standard of EXACTLY (taskType, handlingUnit or none, siteCode), with no fallback to the site-less standard or to the task-type-only one, and 404 when that site has none (ADR 0038). Which of a site's standard and the site-less one a consumer prefers is the consumer's rule.

Request​

Responses​

The currently-active (resolved) standard