Skip to content

ShiftDefinitionSortField ​

Type: Enum

Attribute of a shift definition that listShiftDefinitions can be ordered by.

Values ​

ValueDescriptionDeprecated
CREATED_ATOrder by when the definition was created; the key the pagination walks when no sort term is given, newest first.
NAMEOrder by the shift's label, so the list reads alphabetically rather than by time of day.
START_TIMEOrder by the stored 24-hour "HH:mm" start time, compared as text. That matches clock order within a day, but an overnight shift still sorts under the evening hour it starts at, not under the morning it ends in.

Connect machines, automate workflows, and build custom apps for print production.