Skip to main content
GET
/
api
/
sys
/
businesstimeslots
/
{id}
{
  "BusinessId": 123,
  "FromTime": "<string>",
  "ToTime": "<string>",
  "DayOfWeek": 123,
  "Id": 123,
  "UniqueId": "<string>",
  "CreatedOn": "<string>",
  "UpdatedOn": "<string>",
  "UpdatedBy": "<string>",
  "IsNew": true,
  "SystemId": "<string>"
}
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

id
integer
required
The Id of the BusinessTimeSlot record to retrieve.

Code Examples

curl -X GET \
  "https://spaces.nexudus.com/api/sys/businesstimeslots/87654321" \
  -H "Authorization: Bearer YOUR_TOKEN"

Response

200

BusinessId
integer
Business Id.
FromTime
string
Start time of the opening window. Only the time-of-day component is used; the date component is always 1976-01-01..
ToTime
string
End time of the opening window. Only the time-of-day component is used; the date component is always 1976-01-01..
DayOfWeek
integer
Day Of Week.
Id
integer
Unique record identifier.
UniqueId
string
UUID of the record.
CreatedOn
string
Date and time the record was created (ISO 8601).
UpdatedOn
string
Date and time the record was last updated (ISO 8601).
UpdatedBy
string
Email of the user who last updated this record.
IsNew
boolean
Whether the record was recently created.
SystemId
string
External system identifier.
Example Response
{
  "BusinessId": 0,
  "FromTime": "2025-01-15T10:30:00Z",
  "ToTime": "2025-01-15T10:30:00Z",
  "DayOfWeek": 0,
  "Id": 87654321,
  "UpdatedOn": "2025-01-15T10:30:00Z",
  "CreatedOn": "2025-01-10T08:00:00Z",
  "UniqueId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "UpdatedBy": "admin@example.com",
  "IsNew": false,
  "SystemId": null,
  "ToStringText": "BusinessTimeSlot Example",
  "LocalizationDetails": null,
  "CustomFields": null
}