BusinessTimeSlots
Get one BusinessTimeSlot
Retrieve a single BusinessTimeSlot record by its Id.
GET
Get one BusinessTimeSlot
A BusinessTimeSlot defines the days and times during which a location is open. Each time slot specifies a day of the week and a from/to time window.
The year, month, and day components of
FromTime and ToTime are always 1976-01-01 — only the time-of-day portion is meaningful.
When no time slots are defined for a location, the location is considered open at all times. Adding time slots restricts opening hours to the specified windows only.
Authentication
This endpoint requires OAuth2 authentication. Include a valid bearer token in the
Authorization header.
The authenticated user must be a full unrestricted administrator or have the BusinessTimeSlot-Read role.Path Parameters
integer
required
The Id of the BusinessTimeSlot record to retrieve.
Code Examples
Response
200
integer
ID of the business linked to this record.
string
Start time of the opening window. Only the time-of-day component is used; the date component is always 1976-01-01..
string
End time of the opening window. Only the time-of-day component is used; the date component is always 1976-01-01..
integer
The day of week value for this business time slot. See
DayOfWeek enum values: 0 = Sunday, 1 = Monday, 2 = Tuesday, 3 = Wednesday, 4 = Thursday, 5 = Friday, 6 = Saturday.integer
Unique record identifier.
string
UUID of the record.
string
Date and time the record was created (ISO 8601).
string
Date and time the record was last updated (ISO 8601).
string
Email of the user who last updated this record.
boolean
Whether the record was recently created.
string
External system identifier.
Example Response
Get one BusinessTimeSlot