Skip to content

OutOfOfficePeriod

Fabian Steiner edited this page Nov 4, 2026 · 2 revisions

OutOfOfficePeriod

from xurrent import OutOfOfficePeriod · module xurrent.out_of_office_periods · API resource /out_of_office_periods · Xurrent API docs

A period in which a person is out of office, optionally with an approval delegate.

Back to the overview

Fields

The named arguments of the constructor. Every other field of the API response is set as an attribute as well.

Field Type Default Converted to
id int
start_at None
end_at None
reason Optional[str] None
person None Person
approval_delegate None Person
time_allocation None TimeAllocation
effort_class None EffortClass

Class methods

get_by_id

OutOfOfficePeriod.get_by_id(connection_object: XurrentApiHelper, id: int) -> T

API: GET /out_of_office_periods/{id}

get_out_of_office_periods

OutOfOfficePeriod.get_out_of_office_periods(connection_object: XurrentApiHelper, predefinedFilter: OutOfOfficePeriodPredefinedFilter = None, queryfilter: dict = None) -> List[T]

API: GET /out_of_office_periods · Enums: OutOfOfficePeriodPredefinedFilter

create

OutOfOfficePeriod.create(connection_object: XurrentApiHelper, data: dict) -> T

API: POST /out_of_office_periods

Methods

ref_str

out_of_office_period.ref_str() -> str

update

out_of_office_period.update(data: dict) -> T

API: PATCH /out_of_office_periods/{id}

delete

out_of_office_period.delete() -> None

API: DELETE /out_of_office_periods/{id}

Enums

OutOfOfficePeriodPredefinedFilter

Used by: OutOfOfficePeriod.get_out_of_office_periods

Value Description
open
completed

Cross references

Uses:

Used by:

  • Person: get_out_of_office_periods()

Clone this wiki locally