Create Holiday
Holidays
Create Holiday
Create a holiday (recurring or fixed-date) for a business hour
POST
Create Holiday
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Minimum string length:
3Pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$Pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$Available options:
1 Available options:
1 Available options:
0 Available options:
1 Required range:
x > 0Required range:
x >= 0Response
200 - application/json
Created holiday
Holiday ID
Tenant ID
Holiday name
Whether the holiday recurs
Start date (non-recurring)
End date (non-recurring)
Whether closed for the whole day
Recurrence month (1-12)
Recurrence day (1-31)
Recurrence day of week (0-6)
Recurrence week of month (1-5)
Operating hours or null
Notify days before
Associated business hours profile
Associated media file