system
1
Migrated from Redmine #349 | Author: Shneor Cheshin
Status: Feedback | Priority: Normal | Created: 2019-03-04
Hi,
I am using postman for testing. Getting an error in the result.
Am I missing anything?
Method: POST
URL: https://user-api.simplybook.me/admin
Headers:
Content-Type: application/json
X-Token: Secret Key
X-Company-Login: Key
Body (from documwntation example):
{
“jsonrpc”: “2.0”,
“method”: “getEventList”,
“params”:,
“id”:1
}
Result:
{
“error”: {
“code”: -32600,
“message”: “Invalid request”,
“data”: null
},
“id”: “1”,
“jsonrpc”: “2.0”
}
Cheers!
system
2
Dmytro Bondarev wrote:
Please pass token and company login instead of secret key and key to these headers:
X-Token: Secret Key
X-Company-Login: Key
User/Admin API (Company administration service) authorization
system
3
Redmine Admin wrote:
X-Company-Login should be login of your company
X-Token is not secret key. You should call getToken method first please read more here API documentation | SimplyBook.me Online Scheduling
system
4
Shneor Cheshin wrote:
Redmine Admin wrote:
X-Company-Login should be login of your company
X-Token is not secret key. You should call getToken method first please read more here API documentation | SimplyBook.me Online Scheduling
Thanks for the info.
Can you please elaborate? What is company login?
cheers
system
5
Redmine Admin wrote:
company login is part of url before .simplybook.me (.secure.simplybook.me for admin interface)