Skip to main content

TourTemplate

Template corresponding to tour elements

type TourTemplate implements ShiftPlanTemplate {
abbreviation: String!
backgroundColor: String!
endTime: Time!
fontColor: String!
id: ShiftPlanTemplateID!
maxWorkTime: Int!
startTime: Time!
timeBlock: TimeBlock!
}

Fields

TourTemplate.abbreviation ● String! non-null scalar

Abbreviation, which is shown in the shift plan overview

TourTemplate.backgroundColor ● String! non-null scalar

Background color when visualizing the element in the shift plan (as a hexadecimal number)

TourTemplate.endTime ● Time! non-null scalar

Ending time of the shift

TourTemplate.fontColor ● String! non-null scalar

Font color when visualizing the element in the shift plan (as a hexadecimal number)

TourTemplate.id ● ShiftPlanTemplateID! non-null scalar

Unique identifier

TourTemplate.maxWorkTime ● Int! non-null scalar

The max total work time for a tour.

TourTemplate.startTime ● Time! non-null scalar

Starting time of the shift

TourTemplate.timeBlock ● TimeBlock! non-null enum

Time block of the tour (early, late or night)

Interfaces

ShiftPlanTemplate interface

A template used in the shift plan for the creation of shift elements

Returned By

editTourTemplateTimes mutation ● tourTemplates query