[#1504] Available slots are showing wrong with api

Migrated from Redmine #1504 | Author: Abdul Wahab
Status: New | Priority: Immediate, there is BUG! | Created: 2025-12-05


We build an custom widget https://weare.pediperfectclinic.com/booking1-977939
But the API doenst send all the open slots. SO only a few show in the calender.
As example on 04/12/2025 a provider “Corelie discart” has 4 open spots and also other providers are free. The api only shows 2 slots > 8 and 10 am. not the other ones. > “2025-12-04”: {
“2”: [
“08:00:00”,
“10:00:00”
]

Tim Müller wrote:

I have the same issue, can anyone help here?

if I call:
{
“jsonrpc”: “2.0”,
“method”: “getServiceAvailableTimeIntervals”,
“params”: [
“2025-12-15”,
“2025-12-16”
],
“id”: 1
}

I get the following response:
{
“result”: {
“2025-12-15”: {
“1”: [
“08:00:00”,
“10:00:00”
],
“3”: ,
“2”: ,
“9”: ,
“10”:
},
“2025-12-16”: {
“1”: [
“08:00:00”,
“12:00:00”
],
“3”: ,
“2”: ,
“9”: ,
“10”:
}
},
“id”: “1”,
“jsonrpc”: “2.0”
}

it is missing other available slots which are there.