[#1179] API call for availability returning wrong values

Migrated from Redmine #1179 | Author: Guilherme Bueno
Status: New | Priority: High, I’m very impatient | Created: 2024-02-22


Hi, We currently use the REST API to display availability for our customers, but for one of our services, the api returns the ‘next’ param as being Feb 22nd but with 0 slots. However looking at simplybook’s dashboard the calendar clearly shows several slots for today

Guilherme Bueno wrote:

X-Company Login is: santemedic1

Guilherme Bueno wrote:

https://user-api-v2.simplybook.plus/admin/timeline/slots?date_from=2024-02-22&date_to=2024-02-22&provider_id=3&service_id=17&with_available_slots=1
https://user-api-v2.simplybook.plus/admin/timeline/slots?date_from=2024-02-22&date_to=2024-02-22&provider_id=2&service_id=17&with_available_slots=1

These 2 just return empty arrays for some reason