Appointment Availability
List appointment availabilities
Get a list of available appointment times for the specified business id and branch id, within the specified date range for the specified services
post/api/business/{businessId}/branch/{branchId}/appointments/availability
Path parameters
businessIdstring required
branchIdstring required
Request body
Example request
{
"clientId": "dbNZRQHDqAn6VlVoL2c-iA",
"clientServiceSelections": [
{
"clientId": "dbNZRQHDqAn6VlVoL2c-iA",
"serviceSelections": [
{
"serviceId": "C-FYeVKIwfwL3av2WYcYjA",
"branchServiceGroupId": "b6xtq-4iX7LJ2_cPQQYDTQ",
"staffId": "G4iZa1VHaKCPcyv6Lt3BoA"
}
]
}
],
"rescheduleBookingId": "b6xtq-4iX7LJ2_cPQQYDTQ",
"isOnlineAvailability": true
}Response
Appointment availabilities listed
Example response
{
"data": [
{
"clientSchedules": [
{
"clientId": "dbNZRQHDqAn6VlVoL2c-iA",
"serviceSchedules": [
{
"serviceId": "C-FYeVKIwfwL3av2WYcYjA",
"appointmentId": "TZcha-e8oanJ2KXwSIYkuA",
"staffId": "G4iZa1VHaKCPcyv6Lt3BoA",
"roomId": "G4iZa1VHaKCPcyv6Lt3BoA",
"machineId": "cFoBTXLnUrYNf1uM8HfDcR",
"branchServiceGroupId": "VsB-vaCGhhnKuOSONFWcHgH1UNXM21Qvb_bJPOAI5QI",
"serviceGroupItemOptionId": "VsB-vaCGhhnKuOSONFWcHgH1UNXM21Qvb_bJPOAI5QI"
}
]
}
]
}
]
}