Available Bookings

@casadacoluna
Wed, 18 Mar 2026 11:56:09 +0000

I’m using this request to find the available bookings in the system. I identified the provider_id and service_id, and now I’m using this endpoint to retrieve the provider information, from which I get the service_id.

/admin/providers?on_page=30

And before this step, I’m going to get the available bookings from the API endpoint /admin/schedule/available-slots, using provider_id = 20 and service_id = 24.

Using the next day to find the slots, this is the result i’ve got:

The URL : /admin/schedule/available-slots?provider_id=20&service_id=24&date=2026-03-19

Response:

``

[

{

“id”: “2026-03-19 14:15:00”,

“date”: “2026-03-19”,

“time”: “14:15:00”

},

{

“id”: “2026-03-19 15:15:00”,

“date”: “2026-03-19”,

“time”: “15:15:00”

}

]

``

The response is correct so far, but when I get the calendar, I receive these results:

I’ve three available slots, in 2pm/3pm, 3pm/4pm and 4pm/5pm.

I need to know how can i get the schedule from 2pm and not return me 2:15 pm?