system
January 17, 2023, 8:16am
1
Migrated from Redmine #999 | Author: Ðртур Чернієвич
Status: Closed | Priority: Normal | Created: 2023-01-17
getStartTimeMatrix started returning booked hours. Previously (a month ago) it worked correctly. And now he returns already booked hours by master id and event id.
Request: {“jsonrpc”:“2.0”,“method”:“getStartTimeMatrix”,“params”:[“2023-01-17 10:12:58.717315”,“2023-01-31 23:59:00.000”,2,2,null,null,null],“id”:127016396}
Response:
{“result”:{“2023-01-17”:[“11:00:00”,“12:00:00”,“13:00:00”,“14:00:00”,“15:00:00”,“16:00:00”,“17:00:00”],“2023-01-18”:…
But time 13:00:00 already booked. Why it started returning also booked time?
Help please
system
January 17, 2023, 8:33am
2
Redmine Admin wrote:
hi, make sure your provider have only one slot available
system
January 17, 2023, 9:50am
3
Ðртур Чернієвич wrote:
What does one slot mean? I have attached a photo below of what it looks like.
system
January 18, 2023, 9:24am
4
Ðртур Чернієвич wrote:
Hello,
Please check this method. There is no need to return already booked hours. You have my request and a response above. Resolve this problem.
system
January 18, 2023, 9:28am
5
Dmytro Bondarev wrote:
Hi,
Please provide company login.
Please let us know if it is public or admin API.
system
January 18, 2023, 9:33am
6
Ðртур Чернієвич wrote:
Company login: badshoper.
It isn’t public project. It’s for test.
system
January 18, 2023, 9:37am
7
Ðртур Чернієвич wrote:
It’s a public API
(Short original content)
system
January 18, 2023, 10:11am
8
Dmytro Bondarev wrote:
Hi,
As far as i see you made a bookings via Admin API with 0 duration, the booking start date and time the same as end date and time, it will not block slot.
On booking please leave end time as null or pass valid end date time.
system
January 18, 2023, 10:14am
9
Ðртур Чернієвич wrote:
I’ll try it and write you about the result. Thank you!
system
January 18, 2023, 10:32am
10
Ðртур Чернієвич wrote:
Great, this fixed my problem.
Thanks a lot!
Have a nice day!