Thank you, so far it seems to solve the first issue, but I’m running into the next one:
{“error”: {“code”: -32000, “message”: “You are not allowed to use this application when Google Authenticator Plugin is enabled”, “data”: }, “id”: “0”, “jsonrpc”: “2.0”}
Due to a repeated lockdown in my region we have to cancel the most of our bookings. Instead of clicking them all by hand I wanted to cancel them via the API.
You have to pass X-Company-Login and X-Token headers
I’m getting a 404 not a 401, so the headers are set:
headers = {‘content-type’: ‘application/json’, ‘X-Company-Login’: ‘engelhorn.secure.simplybook.pro’, ‘X-Token’: token}