subject, such as a worker, a time off request, or a
holiday. You can read an event only when you can also read its subject, so an API key or toolset
needs the subject’s read permission as well as calendar.events:read. An event with no subject
needs calendar.events:read alone.
Each upcoming pay period has a payday event and an approval deadline event, about two years ahead.
A payday is an all-day event and already accounts for weekends and bank holidays. An approval
deadline is a single moment: all_day is false and starts and ends are both the deadline.
The title names the event, with the pay schedule when the company has several and the workers when
a pay period has more than one date. The description is one short line: a payday’s pay period, or
the payday a deadline is for.
When all_day is true, treat starts and ends as dates rather than times. A holiday should
render as a full-day event, not as a midnight-to-midnight timed block.
Attributes
ID of the calendar the event belongs to.
Whether the event spans the full day. When
true, interpret starts and ends as dates
rather than times.ID of the record this event projects, such as a worker, leave, holiday, or pay period. Null when the event
has no linked record. Some subjects may not resolve to a public API resource.