Skip to main content
GET
Get all holidays

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.

Sorgu Parametreleri

date_from
string<date-time> | null

Filter holidays from this date (inclusive, YYYY-MM-DD).

date_to
string<date-time> | null

Filter holidays up to this date (inclusive, YYYY-MM-DD).

year
integer | null

Filter holidays by year.

Gerekli aralık: 2000 <= x <= 2100
source
enum<string> | null

Filter holidays by source.

Mevcut seçenekler:
calendarific,
flextell,
tenant,
null
per_page
integer | null

The number of items per page.

Gerekli aralık: 1 <= x <= 100
page
integer | null

The page number.

Gerekli aralık: x >= 1

Yanıt

Paginated set of HolidayResource

data
HolidayResource · object[]
gerekli
meta
object
gerekli