ProductionQu Query

getShiftDefinition

Topics: Jobs

Fetch a single shift definition by id, or null when no definition with that id exists in the caller's tenant. Requires shiftDefinition:read permission.

Returns

ShiftDefinitionState

Arguments

TypeID (prefix "shd") of the shift definition to fetch.

Exact field SDL
"""
Fetch a single shift definition by id, or null when no definition with that id exists in the caller's tenant. Requires shiftDefinition:read permission.
"""
getShiftDefinition(
  """TypeID (prefix "shd") of the shift definition to fetch."""
  id: ShiftDefinitionID!
): ShiftDefinitionState @topic(names: ["jobs"])

Declared on Query. Access is checked by the platform for each operation.