Migrated from Redmine #375 | Author: Bogdan Pomirleanu
Status: New | Priority: High, I’m very impatient | Created: 2019-04-12
Hello,
I’m trying to use the api methods to create something similar to example which is provided by the platform: https://filippov.simplybook.me/v2
I have troubles finding what api method or combination is used to generate the booking calendar.
I see the following object being generated:
https://filippov.simplybook.me/v2/booking/time-slots/?from=2019-04-07&to=2019-04-13&location=&provider=1&service=1&count=1
{
“id”: “2019-04-12 10:00:00”,
“date”: “2019-04-12”,
“time”: “10:00:00”,
“type”: “busy”,
“slots_count”: 1,
“client_date”: “2019-04-12”,
“client_time”: “10:00:00”
}, {
“id”: “2019-04-12 11:00:00”,
“date”: “2019-04-12”,
“time”: “11:00:00”,
“type”: “busy”,
“slots_count”: 1,
“client_date”: “2019-04-12”,
“client_time”: “11:00:00”
}, {
“id”: “2019-04-12 12:00:00”,
“date”: “2019-04-12”,
“time”: “12:00:00”,
“type”: “free”,
“slots_count”: 1,
“client_date”: “2019-04-12”,
“client_time”: “12:00:00”
}
[{
“id”: “2019-03-31”,
“date”: “2019-03-31”,
“time”: ,
“is_day_off”: true
}, {
“id”: “2019-04-01”,
“date”: “2019-04-01”,
“time”: ,
“is_day_off”: true
}]
But I can’t seem to find what api method will return something like that or what combination of methods will allow me to reach something similar.
I’m using the free license to do a test demo.
Let me know if you have any guidance.
Kind regards,
Bogdan