OutOfOfficePeriod Object

Root Connection

All OutOfOfficePeriod objects of an account are accessible by a query on the root connection outOfOfficePeriods. Such a query will return a OutOfOfficePeriodConnection!, which contains the OutOfOfficePeriod objects in its nodes field.

outOfOfficePeriods (OutOfOfficePeriodConnection!)

Root connection for retrieving OutOfOfficePeriod records.

Argument Type Description
after String

Returns the elements in the list that come after the specified cursor.

before String

Returns the elements in the list that come before the specified cursor.

filter OutOfOfficePeriodFilter

Filter to determine which OutOfOfficePeriod records are returned.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

order [OutOfOfficePeriodOrder!]

Order of the OutOfOfficePeriod records returned.

view OutOfOfficePeriodView

View name.

The default value is current_account.

Fields

The fields in this section list which values can be retrieved when querying OutOfOfficePeriod records.

account (Account)

The account this record belongs to.

approvalDelegate (Person)

The person who is selected as the approval delegate for the out of office period.

createdAt (ISO8601Timestamp)

The date and time at which the record was created.

effortClass (EffortClass)

The Effort class field is used to generate time entries for the out of office period. This field is applicable if the timesheet settings linked to the person's organization has one or more effort classes.

endAt (ISO8601Timestamp)

End time of the out of office period.

id (ID!)

Unique identifier of the record.

person (Person)

The person who is out of office.

reason (String)

The reason of the out of office period. Required when the description category of the time allocation is required.

source (String)

An identifier for the client application submitting the resource or the name of an external system.

sourceID (String)

The unique identifier of the resource in an external system.

startAt (ISO8601Timestamp)

Start time of the out of office period.

timeAllocation (TimeAllocation)

Used to generate time entries for the out of office period. Only the time allocations without service and customer that are linked to the person's organization can be selected. This field is required if at least one time allocation exists that meets those conditions.

updatedAt (ISO8601Timestamp)

The date and time of the last update of the record. If the record has no updates it contains the createdAt value.

Implements

OutOfOfficePeriod implements the following interfaces. This means that fragments defined on these interfaces may be used in queries returning a OutOfOfficePeriod.