system
July 28, 2022, 12:38am
1
Migrated from Redmine #914 | Author: nick h
Status: New | Priority: Normal | Created: 2022-07-28
Hi
I’m seeing a 404 on multiple resources that are documented in the REST API
POST https://user-api-v2.simplybook.me/admin/detailed-report
GET https://user-api-v2.simplybook.me/admin/detailed-report/193
GET https://user-api-v2.simplybook.me/admin/calendar
Is there more up to date documentation that I should be using rather than this: API documentation | SimplyBook.me Online Scheduling
I am trying to get a listing of all our available slots. /admin/schedule/available-slots would be fine if it included the IDs of the service and provider.
Thanks for your help.
Nick
system
July 28, 2022, 5:42am
2
Dmytro Bondarev wrote:
Hi,
This is valid documentation. Please provide full HTTP requests and response, so we can investigate.
system
July 28, 2022, 6:38am
3
nick h wrote:
POST https://user-api-v2.simplybook.me/admin/detailed-report
404
784 ms
Network
Request Headers
Accept: application/json
X-Company-Login: Henry_n
X-Token: 39ec28ec28ae7ad591e7b05dab67359cbd2233bfd00a570364259276edd2bf34
Content-Type: application/json
User-Agent: PostmanRuntime/7.29.0
Postman-Token: dbc7001e-9377-4bde-a4e4-39ec5df141fb
Host: user-api-v2.simplybook.me
Accept-Encoding: gzip, deflate, br
Connection: keep-alive
Content-Length: 352
Request Body
{
“filter”: {
“date_from”: “2022-07-28”,
“date_to”: “2022-07-29”,
“booking_type”: “show all bookings”
},
“export_columns”: [“Date”,“Time”,“Service”,“Service provider”,“Code”,“Client name”,“Client email”,“Client phone”,“Client address”,“Comment”,“Record date”
],
“order_direction”: “asc”,
“order_field”: “record_date”
}
Response Headers
Server: nginx
Date: Thu, 28 Jul 2022 06:35:50 GMT
Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Keep-Alive: timeout=20
Vary: Accept-Encoding
Content-Encoding: gzip
X-IPLB-Request-ID: 78174421:DD3D_8E2C8CB0:01BB_62E22E46_F1E2B3:112AC
Strict-Transport-Security: max-age=15768000
X-IPLB-Instance: 45488
Response Body
↵
SimplyBook.me — Free Online Appointment Scheduling Service
Ouch!
ERROR
I'm sorry, that page is in another universe!
Back home
system
July 28, 2022, 6:40am
4
nick h wrote:
GET https://user-api-v2.simplybook.me/admin/calendar?mode=provider&filter[status]=confirmed_pending&filter[date_from]=2022-07-29&filter[date_to]=2022-08-01
404
1049 ms
Network
Request Headers
Accept: application/json
X-Company-Login: Henry_n
X-Token: 39ec28ec28ae7ad591e7b05dab67359cbd2233bfd00a570364259276edd2bf34
User-Agent: PostmanRuntime/7.29.0
Postman-Token: 68343822-ed8b-40a1-81be-bb05e0fa4274
Host: user-api-v2.simplybook.me
Accept-Encoding: gzip, deflate, br
Connection: keep-alive
Response Headers
Server: nginx
Date: Thu, 28 Jul 2022 06:39:44 GMT
Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Keep-Alive: timeout=20
Vary: Accept-Encoding
Content-Encoding: gzip
X-IPLB-Request-ID: 78174421:DD80_8E2C8CB0:01BB_62E22F2F_F26DF1:12F22
Strict-Transport-Security: max-age=15768000
X-IPLB-Instance: 45487
Response Body
↵
SimplyBook.me — Free Online Appointment Scheduling Service
Ouch!
ERROR
I'm sorry, that page is in another universe!
Back home
system
July 28, 2022, 6:42am
5
Dmytro Bondarev wrote:
Hi, the
X-Company-Login: Henry_n
is definitely wrong, it must be your company login (what you {companyLogin}.simplybook.me)
system
July 28, 2022, 6:50am
6
nick h wrote:
Yes right you are. It works with the right variable.
I am trying to get a listing of all our available slots. /admin/schedule/available-slots would be fine if it included the IDs of the service and provider.
Can you suggest anything?
Thanks!