[#602] PostMan - GetToken - Unexpect Error

Migrated from Redmine #602 | Author: Patrick Baud
Status: Closed | Priority: Normal | Created: 2020-11-10


Hi,

I am testing your APi for a project but I can’t get the first GetToken Working
I am testing with Postman.
I have been able to get the the getServiceUrl request working (already quite hard to get the proper company name!)
but i get an Unexpected error when trying to get the GetToken
Postman full requests in screen shot.
Can you let me know what I am doing wrong?

Thanks

Patrick

Patrick Baud wrote:

tried with the below request
{
“jsonrpc”: “2.0”,
“method”: “getToken”,
“params”: [“nsw.pgh.enterpriseappointments.com”, “fc------*****6b” ] ,
“id”: 1
}

but got “Company does not exist”

Redmine Admin wrote:

please use https://user-api.enterpriseappointments.com/ endpoint

Patrick Baud wrote:

Redmine Admin wrote:

please use https://user-api.enterpriseappointments.com/ endpoint

Hi,
I have seen this on previous bugs. but i have the following error “Company does not exist” with “https://user-api.enterpriseappointments.com/” endpoint
would you be able to validate the query and the company login?

{
“jsonrpc”: “2.0”,
“method”: “getToken”,
“params”: [“nsw.pgh.enterpriseappointments.com”,“XXXXXX”],
“id”: 1
}

Redmine Admin wrote:

company login is one word which should not contain any dots and cpaces. It is probably nsw in your case but we can’t know, please check it your side.