Repository navigation
Holiday
Fabian Steiner edited this page Nov 4, 2026
·
2 revisions
from xurrent import Holiday · module xurrent.holidays · API resource /holidays · Xurrent API docs
A holiday: a period during which the calendars it is linked to are not active.
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 |
||
name |
Optional[str] |
None |
|
start_at |
None |
||
end_at |
None |
||
picture_uri |
Optional[str] |
None |
Holiday.get_by_id(connection_object: XurrentApiHelper, id: int) -> TAPI: GET /holidays/{id}
Holiday.get_holidays(connection_object: XurrentApiHelper, queryfilter: dict = None) -> List[T]API: GET /holidays
Holiday.create(connection_object: XurrentApiHelper, data: dict) -> TAPI: POST /holidays
holiday.ref_str() -> strholiday.update(data: dict) -> TAPI: PATCH /holidays/{id}
holiday.get_calendars() -> ListRetrieve calendars that contain this holiday.
API: GET /holidays/{id}/calendars · Uses: Calendar
Uses:
-
Calendar:
get_calendars()
Used by:
-
Calendar:
get_holidays()
- XurrentApiHelper
- Calendar
- ClosureCode
- ConfigurationItem
- Contract
- CustomCollection
- CustomCollectionElement
- EffortClass
- Holiday
- KnowledgeArticle
- Organization
- OutOfOfficePeriod
- Person
- Problem
- Product
- ProductCategory
- Project
- ProjectTask
- Release
- Request
- RequestTemplate
- Risk
- Service
- ServiceInstance
- ServiceOffering
- ShopArticle
- ShopArticleCategory
- ShopOrderLine
- Site
- SkillPool
- Task
- Team
- TimeAllocation
- UiExtension
- Workflow
- WorkflowTemplate