[#627] Couldn't authorize Enterprise server's REST API with company login

Migrated from Redmine #627 | Author: Dev Zeals
Status: Closed | Priority: High, I’m very impatient | Created: 2020-12-18


@
curl --location --request POST ‘https://user-api-v2.enterpriseappointments.com/admin/auth
–header ‘Content-Type: application/json’
–data-raw ‘{
“company”: “his”,
“login”: “”,
“password”: “”
}’
@

Outcome:

@{
“code”: 400,
“message”: “Invalid company”,
“data”: ,
“message_data”:
}
@

Dev Zeals wrote:

Never mind, I figured it out that our enterprise endpoint is a different URL (https://user-api-v2.simplybook.vip)

Ed Horrocks wrote:

Issue is resolved. Many thanks for for help