Skip to main content
GET
/
api
/
billing
/
extraservicetimeslots
/
{id}
{
  "ExtraServiceId": 123,
  "FromTime": "<string>",
  "ToTime": "<string>",
  "DayOfWeek": 123,
  "Available": true,
  "Id": 123,
  "UniqueId": "<string>",
  "CreatedOn": "<string>",
  "UpdatedOn": "<string>",
  "UpdatedBy": "<string>",
  "IsNew": true,
  "SystemId": "<string>"
}
An ExtraServiceTimeSlot defines the days and times during which an ExtraService (resource pricing rule) is available for booking. 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 an extra service, the price applies at all times. Adding time slots restricts the price 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 ExtraServiceTimeSlot-Read role.

Path Parameters

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

Code Examples

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

Response

200

ExtraServiceId
integer
Extra Service Id.
FromTime
string
Start time of the availability window. Only the time-of-day component is used; the date component is always 1976-01-01..
ToTime
string
End time of the availability window. Only the time-of-day component is used; the date component is always 1976-01-01..
DayOfWeek
integer
Day Of Week.
Available
boolean
Whether the extra service is available for booking during this time slot. When false, the slot acts as an explicit block..
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
{
  "ExtraServiceId": 0,
  "FromTime": "2025-01-15T10:30:00Z",
  "ToTime": "2025-01-15T10:30:00Z",
  "DayOfWeek": 0,
  "Available": null,
  "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": "ExtraServiceTimeSlot Example",
  "LocalizationDetails": null,
  "CustomFields": null
}