Skip to main content
POST
Create a tenant holiday

Yetkilendirmeler

Authorization
string
header
gerekli

The access token received from the authorization server in the OAuth 2.0 flow.

Başlıklar

X-Tenant
number
gerekli

Tenant identifier. Send the Tenant ID in the X-Tenant header to scope API requests to a specific tenant.

Gövde

application/json
date
string<date>
gerekli

The calendar date of the holiday.

name
string
gerekli

The name of the holiday.

Maximum string length: 255
type
enum<string>
gerekli

The holiday type.

Mevcut seçenekler:
national,
religious,
observance,
custom
blocks_appointments
boolean
gerekli

Whether the holiday blocks appointments.

is_full_day
boolean
gerekli

Whether the holiday closes the clinic for the full day.

starts_at
string | null

The local closure start time.

ends_at
string | null

The local closure end time.

Yanıt

success
string
gerekli
data
HolidayResource · object
gerekli