Skip to content

Office Hours Time Interval

A single open interval. For schedules, start_minute and end_minute are minute offsets from the start of the week (Monday 00:00 = 0), in the range 0 to 10080. For exceptions, they are minute offsets from midnight on exception_date, in the range 0 to 1440.

In requests, start_minute and end_minute must be multiples of 15. The one exception is a schedule's whole-week interval, 0 to 10079, which makes the schedule open 24/7. A request interval can contain only start_minute and end_minute; any other field, including the read-only day_of_week, is rejected with a 400 error.

start_minuteinteger

Minute the interval starts. For schedules, offset from the start of the week (Monday 00:00 = 0); for exceptions, offset from midnight on exception_date.

Example:540
end_minuteinteger

Minute the interval ends. For schedules, offset from the start of the week (Monday 00:00 = 0); for exceptions, offset from midnight on exception_date.

Example:1020
day_of_weekintegerread-only

Derived day of the week the interval falls on (0 = Monday … 6 = Sunday). For exceptions, this is derived from exception_date. It is returned in responses only; a request that includes it is rejected with a 400 error.

Example:0
{ "start_minute": 540, "end_minute": 1020, "day_of_week": 0 }