Get a list of first available slots for a list of branches
GET/calendar-backend/public/api/v2/branches/nextAvailableSlot
Get a list of first available slots for a list of branches.
startDate is Date for start of search. INVALID_DATE_SELECTION of missing or erroneous. daysAhead is Number of days ahead to search for, min. 0 day and max. 92 days. Branches entered as matrix params (e.g. ;branchPublicId=firstPublicBranchId;branchPublicId=secondPublicBranchId) Services entered as matrix params (e.g. ;servicePublicId=firstPublicServiceId;servicePublicId=secondPublicServiceId) numberOfCustomers is Number of customers for a slot with specified service
Example:
curl -X GET
http://localhost:8080/calendar-backend/public/api/v2/branches/nextAvailableSlot;
startDate=yyyy-MM-dd;
daysAhead=x;
branchPublicId=ef6093cf990a29ec2b6ab8b773fef63941a5ad05caab46d3093432ad54b04a65;
branchPublicId=795e6547dd260bd02e1a67d79c931e8d06c454c93489cab01947ed0a270bceae;
servicePublicId=4c2fe2853f1f4b429b928faabc8b35e6c6a3154ff883163f4149676e4a84df00;
servicePublicId=df20bd853e13c5b71715f3f332ec304839637ac8b34cdd3c20c9820f01377dd9;
numberOfCustomers=y
Responses
- 200
A Json list of com.qmatic.qp.calendar.rest.dto.BranchFreeSlotsDTO