Skip to main content

AbsenceShiftElement

No description

type AbsenceShiftElement implements ShiftElement {
assignee: Employee
backgroundColor: String!
description: String
duration: Int
endsAt: DateTime!
fontColor: String!
id: ShiftElementID!
label: String!
notes: String
requestUnit: 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.duration ● Int scalar

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

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.requestUnit ● String scalar

The request unit of the leave coming from Odoo Can be either 'day', 'hour' or 'half_day'

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