GET Calendars/WeekTimes?UnitExtRef={UnitExtRef}&ServiceExtRef={ServiceExtRef}&AppointmentTypeExtRef={AppointmentTypeExtRef}&StartDate={StartDate}
Get a matrix of calendar's suggested slot times for the whole calander week. Overload of ExtRef instead of ServiceId. Unit, Service and/or AppointmentType ExtRef MUST resolve to the first matching service Preferable to use flat collection of /Calendars/Times as this is slower to run.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
UnitExtRef |
Unit External Reference (optional) |
string |
None. |
ServiceExtRef |
Service External Reference (optional) |
string |
None. |
AppointmentTypeExtRef |
Appointment Type External Reference (optional) |
string |
None. |
StartDate |
Start Date |
date |
None. |
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:30.4806966+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:30.4806966+10:00", "StartTimeForDay": "sample string 2", "EndTimeForDay": "sample string 3", "DefaultAppointmentDuration": 4, "CalendarId": 5, "DaySlots": { "SlotItems": null }, "MaxSimultaneousAppointments": 6 } ]