Regular slots API ignoring blockouts

For requests or help with our API
Post Reply
rinse-rey
Posts: 23
Joined: Tue Sep 13, 2022 12:15 pm

Regular slots API ignoring blockouts

Post by rinse-rey » Mon Feb 20, 2023 11:00 am

Hello again,

I have an issue with the regular slots api: GET /appointments/Slots .

We have blockouts where no appointment can be booked. However, the Slots API is not looking at this when returning the available slots. On the other hand, the Search in the OD interface is giving the right timeslots.

Any solution for this besides doing a join between what the Slots API return and what the Schedule API returns?

SLeon
Posts: 480
Joined: Mon Mar 01, 2021 10:00 am

Re: Regular slots API ignoring blockouts

Post by SLeon » Mon Feb 20, 2023 11:13 am

Good morning,

Using Appointments GET Slots alongside Schedules GET is the recommended way to find open appointment slots. The core reason for this is the many different ways dental offices utilize blockouts. There can be blockouts that do not impact scheduling, so we cannot exclusively exclude time slots that fall under any blocked out time.

rinse-rey
Posts: 23
Joined: Tue Sep 13, 2022 12:15 pm

Re: Regular slots API ignoring blockouts

Post by rinse-rey » Mon Feb 20, 2023 11:43 am

Got it. Appreciate the fast response.

Post Reply