Skip to main content

AbsenceShiftElement

No description

type AbsenceShiftElement implements ShiftElement {
assignee: Employee
backgroundColor: String!
description: String
endsAt: DateTime!
fontColor: String!
id: ShiftElementID!
label: String!
notes: String
startsAt: DateTime!
}

Fields

AbsenceShiftElement.assignee ● Employee object

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

AbsenceShiftElement.backgroundColor ● String! non-null scalar

The background display color

AbsenceShiftElement.description ● String scalar

Additional short description of the shift

AbsenceShiftElement.endsAt ● DateTime! non-null scalar

The time this shift element ends.

AbsenceShiftElement.fontColor ● String! non-null scalar

The font display color

AbsenceShiftElement.id ● ShiftElementID! non-null scalar

Unique identifier

AbsenceShiftElement.label ● String! non-null scalar

Short label for the shift

AbsenceShiftElement.notes ● String scalar

Notes regarding the shift, up to 500 characters

AbsenceShiftElement.startsAt ● DateTime! non-null scalar

The time this shift element starts.

Interfaces

ShiftElement interface

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

Returned By

addEmployeeAbsence mutation