[#832] Available Slots Endpoint Returns null

Migrated from Redmine #832 | Author: ismail özacar
Status: Rejected | Priority: High, I’m very impatient | Created: 2022-01-11


Hi,

https://user-api-v2.simplybook.me/admin/schedule/available-slots?date=2022-01-20&provider_id=3&service_id=1

As you can see above when I try to request available-slots endpoint It’s return null object.
In control panel there are available slots, I also tried other dates and still got nothing.

Redmine Admin wrote:

please provide your company booking page url (login and domain)

ismail özacar wrote:

login: autocomcomtr domain: Appointment booking service and free online booking service

Redmine Admin wrote:

Which user is used to login to API, do he has rights to see all bookings?

Redmine Admin wrote:

Provider with id 3 Maslak Fiyatlama Eksperi 2 is blocked, which means he is deleted and don’t have any slots available

ismail özacar wrote:

Redmine Admin wrote:

Which user is used to login to API, do he has rights to see all bookings?

chatbot user is login and try.
It has Senior Employee role.
Should it be the admin role?
(Btw it was working before.)

Redmine Admin wrote:

please check comment above: provider with id 3 is blocked and has no slots

ismail özacar wrote:

Redmine Admin wrote:

please check comment above: provider with id 3 is blocked and has no slots

We are not changed any provider status.
And I can see when I use the getStartTimeMatrix ()

Where can I get enable if it is blocked?

In the attach you can find providers, Id 3 is second one Autocom Maslak

Dmytro Bondarev wrote:

Hi! There is no such provider. Please use correct provider id.

ismail özacar wrote:

Ok, I’ve got this.
Thank you for your support.