GET Calendars/WeekTimes?ServiceId={ServiceId}&StartDate={StartDate}&AppointmentTypeId={AppointmentTypeId}
Get a matrix of calendar's suggested slot times for the whole calander week. Preferable to use flat collection of /Calendars/Times as this is slower to run.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
ServiceId |
Service ID |
integer |
Required |
StartDate |
Start Date |
date |
Required |
AppointmentTypeId |
If 0, system will use the first appointment type of the service |
integer |
Default value is 0 |
Body Parameters
None.
Response Information
Resource Description
Collection of DayBookingContainerModelName | Description | Type | Additional information |
---|---|---|---|
BookingsReservationsAndLocks | Collection of DataRow |
None. |
|
Date | date |
None. |
|
StartTimeForDay | string |
None. |
|
EndTimeForDay | string |
None. |
|
DefaultAppointmentDuration | integer |
None. |
|
CalendarId | integer |
None. |
|
DaySlots | DynamicCalendarSuggestedSlotItemAndVacancyModel |
None. |
|
MaxSimultaneousAppointments | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "BookingsReservationsAndLocks": null, "Date": "2025-09-13T08:23:53.2135885+10:00", "StartTimeForDay": "sample string 2", "EndTimeForDay": "sample string 3", "DefaultAppointmentDuration": 4, "CalendarId": 5, "DaySlots": { "SlotItems": null }, "MaxSimultaneousAppointments": 6 }, { "BookingsReservationsAndLocks": null, "Date": "2025-09-13T08:23:53.2135885+10:00", "StartTimeForDay": "sample string 2", "EndTimeForDay": "sample string 3", "DefaultAppointmentDuration": 4, "CalendarId": 5, "DaySlots": { "SlotItems": null }, "MaxSimultaneousAppointments": 6 } ]