Skip to main content

TourShiftElement

A shift element regarding a given tour

type TourShiftElement implements ShiftElement {
assignee: Employee
backgroundColor: String!
description: String
duration: Int
endsAt: DateTime!
fontColor: String!
id: ShiftElementID!
isAccompanyingShift: Boolean
label: String!
notes: String
startsAt: DateTime!
timeBlock: TimeBlock!
tour: TargetTour!
type: TourType
}

Fields

TourShiftElement.assignee ● Employee object

The employee this element is assigned to. (Optional) Not available on unassigned tour shifts.

TourShiftElement.backgroundColor ● String! non-null scalar

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

TourShiftElement.description ● String scalar

Additional short description of the shift

TourShiftElement.duration ● Int scalar

The duration of the shift in minutes (defined in the shift template)

TourShiftElement.endsAt ● DateTime! non-null scalar

The end time of the shift (defined in the shift template)

TourShiftElement.fontColor ● String! non-null scalar

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

TourShiftElement.id ● ShiftElementID! non-null scalar

Unique identifier

TourShiftElement.isAccompanyingShift ● Boolean scalar

Shows if the current shift belongs to a accompanying employee. (Optional)

TourShiftElement.label ● String! non-null scalar

Short label for the shift

TourShiftElement.notes ● String scalar

Notes regarding the shift, up to 500 characters

TourShiftElement.startsAt ● DateTime! non-null scalar

The start time of the shift (defined in the shift template)

TourShiftElement.timeBlock ● TimeBlock! non-null enum

The time block this shift element belongs to. Is in sync with the tour of the shift.

TourShiftElement.tour ● TargetTour! non-null object

The active tour connected to the shift

TourShiftElement.type ● TourType enum

Type of the tour contained in the element

Interfaces

ShiftElement interface

A single element as a part of the employee's shift

Member Of

UnassignedShiftEntry object