Returns unique dates according to the Resource availability, capacities and capacity blocks of the specified branch…
GET/calendar-backend/public/api/v1/branches/:branchPublicId/services/:servicePublicId/dates
Returns unique dates according to the Resource availability, capacities and capacity blocks of the specified branch and service.
Optionally, one can supply an extra query parameter: numberOfCustomers=N where N is the total number of customers on the appointment. This is used when calculating the total required timeslot length for the appointment. If omitted, it defaults to 1. If set to 0, it uses 1 customer.
Example: curl -u user:password -i -X GET http://localhost:8080/calendar-backend/public/api/v1/branches/{branchPublicId}/services/{servicePublicId}/dates
Request
Responses
- 200
A Json list of dates as yyyy-MM-dd strings.