Skip to content

Commit f2b658f

Browse files
Update client_v4.py
1 parent 54c1b36 commit f2b658f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tempoapiclient/client_v4.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,16 @@ def get_holiday_schemes(self, holidaySchemeId=None, year=None):
488488

489489
return self.get(url, params=params)
490490

491+
def get_floating_holidays(self, holidaySchemeId=None):
492+
"""
493+
Retrieve floating holidays for an existing holiday scheme.
494+
:param holidaySchemeId:
495+
"""
496+
url = f"/holiday-schemes/{holidaySchemeId}/holidays/floating"
497+
498+
return self.get(url, params=params)
499+
500+
491501
def create_holiday_scheme(self, schemeName, schemeDescription=None):
492502
"""
493503
Create holiday scheme

0 commit comments

Comments
 (0)