Deze referentie is alleen in het Engels. Naar het Nederlandse REST API-overzicht

Diese Referenz gibt es nur auf Englisch. Zur deutschen REST-API-Übersicht

Cette référence existe uniquement en anglais. Aller à la présentation de l'API REST en français

Esta referencia solo está en inglés. Ir a la introducción de la API REST en español

FreeDay

FreeDay

A free day: one calendar date on which the organisation is closed, either instantiated from a recurring holiday or added by hand.

View as Markdown
Summary view
FreeDayList, 8 fields. What a list returns by default.
Detail view
FreeDay, 8 fields. The default for a single read and for every write.

Free days are excluded from the working days a furlough request consumes. The label is a copy taken at creation time and drifts independently of the holiday it came from.

Used by

GETRead a free day/free-days/{free_day}FreeDay
PATCHUpdate a free day/free-days/{free_day}FreeDay

Fields

Detail only
Only in the detail view.
Only with include
Only when you ask for it with include.
Server-assigned
Set by plnnrly, never by a request.
idinteger

Unique identifier.

descriptionstring≤ 255

Label for the free day, e.g. Christmas Day. For a holiday-derived day this is a copy of the holiday name taken when the free day was created, so renaming the holiday does not rewrite it.

datedate (YYYY-MM-DD)

Calendar date the organisation is closed.

holiday_idinteger or null

Recurring holiday this free day instantiates, or null for a day added by hand. The foreign key nulls on delete, so removing the holiday leaves the free day behind as a manual day still carrying the copied label.

holidayRef or HolidaySummary or null

The recurring holiday this free day instantiates; absent for a manually added day.

created_attimestamp (YYYY-MM-DDThh:mm:ssZ)

Creation timestamp.

updated_attimestamp (YYYY-MM-DDThh:mm:ssZ)

Last-write timestamp; use for incremental sync.

Variants

FreeDayList 8 fields

What a collection returns, and what ?view=summary returns on a single record.

The same fields as the detail object.

FreeDaySummary 3 fields

The embedded form: what you get when another resource carries this one and you did not include it.

Leaves out: holiday_id, holiday, created_at, updated_at, links