Skip to content

CreateShiftDefinitionInput ​

Type: Input

Fields for a new shift definition. The server assigns the id and both timestamps.

Fields ​

NameTypeDefaultDescription
activeDays[Int!]!ISO-8601 weekdays the shift runs on (1 = Monday … 7 = Sunday). At least one required.
endTimeString!Local clock time the shift ends, as 24-hour "HH:mm". Earlier than startTime marks the shift as overnight.
nameString!Human-readable label for the shift. Must not be blank.
startTimeString!Local clock time the shift starts, as 24-hour "HH:mm".

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