[#1187] REST API Get schedule returns missing date

Migrated from Redmine #1187 | Author: Ngoc Phung
Status: Feedback | Priority: High, I’m very impatient | Created: 2024-03-04


Hi, our account is https://marbodaltest.secure.nobia.enterpriseappointments.com/

When trying to get schedule https://user-api-v2.enterpriseappointments.com/admin/schedule?date_from=2024-03-30&date_to=2024-03-31&service_id=4&provider_id[]=17, I see that only Mar 30 is returned, not Mar 31.

Can you check if there is something wrong with Mar 31 or I am missing something?

Ngoc Phung wrote:

Hi, is there someone looking into this may I ask?

Redmine Admin wrote:

Hi, it seems this method is limited to return 1 day only. Try to call https://user-api-v2.enterpriseappointments.com/admin/schedule?date_from=2024-03-31&date_to=2024-03-31&service_id=4&provider_id[]=17

Ngoc Phung wrote:

hi, I dont think so.
Your document is saying it can return object for dates not date API documentation | SimplyBook.me Online Scheduling
and it will work if I give another time range, example mar 29-mar 30.
So there seems to be sth specically with Mar 31.

Ngoc Phung wrote:

Hi, can someone look into this issue pls?

Dmytro Bondarev wrote:

Hi, could you please provide company login?

Ngoc Phung wrote:

hi, as mentioned on the ticket’s subject, our url is https://marbodaltest.secure.nobia.enterpriseappointments.com/

Dmytro Bondarev wrote:

Hi, thank you.
We found issue will be fixed today.

Ngoc Phung wrote:

Thanks a lot in advance.
Please help to explain the root cause as well.