latestOpenAPI 3.1.0PortSIP2026-08-105581112.6 MB

577415d4a3d5

User

Retrieve a holiday of a user

get/users/{id}/holidays/{holiday_id}

Path parameters

idstring required

The unique ID of the resource.

Example:NzAwNTUxOTA5NzczMTQ4MTYw

The unique ID of the holiday.

holiday_idstring required

The unique ID of the resource.

Example:NzAwNTUxOTA5NzczMTQ4MTYw

The unique ID of the holiday.

Response

OK

idstring

The unique ID of the resource.

namestring

The name of the holiday.

regionstring

A valid country code based on iso3166-1 alpha-3 standard. see: https://www.iso.org/iso-3166-country-codes.html

consecutiveboolean

Whether the holiday consists of consecutive days.

every_yearboolean

Does the holiday take effect every year.

year_startinteger

The start year of holiday.

year_endinteger

The end year of holiday.

month_startinteger

The start month of holiday.

month_endinteger

The end month of holiday.

day_startinteger

The start day of holiday.

day_endinteger

The end day of holiday.

hour_startinteger

The start hour of holiday.

hour_endinteger

The end hour of holiday.

minute_startinteger

The start minute of holiday.

minute_endinteger

The end minute of holiday.

Example response

{
  "id": "NzAwNTUxOTA5NzczMTQ4MTYw"
}