[#1444] Significant slowdown in getServiceAvailableTimeIntervals for one‑week range

Migrated from Redmine #1444 | Author: Anas Nab
Status: Feedback | Priority: Immediate, there is BUG! | Created: 2025-07-22


I’m invoking the “getServiceAvailableTimeIntervals” JSON‑RPC endpoint via:

POST https://user-api.simplybook.me/admin
Content-Type: application/json

Example request body:
{
“jsonrpc”: “2.0”,
“method”: “getServiceAvailableTimeIntervals”,
“params”: {
“datefrom”: “2025-07-17”,
“dateto”: “2025-07-23”
},
“id”: 1
}

Until about two weeks ago, this call would not take that much time, but now each request is taking 14–17 seconds . Our users are experiencing noticeable delays and have begun complaining. Can you please investigate the recent performance degradation?

Dmytro Bondarev wrote:

Hi,
We strongly recommend to provide provider id, reduce number of days.