Solved

SysAid Rest API Login

  • 26 July 2023
  • 2 replies
  • 256 views

I’ve got the service account to use it with REST API. I tested that account to confirm whether login works in the browser. I want to test login using REST API in Postman. I referred a couple of posts, but I couldn’t connect using REST API.

 

Can someone help on what I am missing? 

I am using following URL And parameters to login. I am getting no mobile app permission response back. 

 

POST API URL: https://workcaresandbox.sysaidit.com/api/v1/login
Json Body: 
{
    "user_name":"name",
    "password":"********"
}

Response:
{
    "status": 401,
    "message": "No Mobile App Permission"
}
 

 

icon

Best answer by dragos.baciu 26 July 2023, 21:24

View original

2 replies

Userlevel 1
Badge +1

Hello Jayesh,

I hope this message finds you well. Thank you for reaching out with your question/issue about [specific topic/issue]. I'd be more than happy to assist you.

The Rest API user must be a full admin (Sysaid Adminstrator) for that to work.

The line for url must be POST/login, with a Body > raw > JSON and the text inside the body like this:

{
"user_name":"The username of the admin",
"password" :"The password of the admin"
}

We also have these 2 documentations about this topic:

SysAid REST API Details: https://documentation.sysaid.com/docs/rest-api-details

SysAid REST API Guide: https://documentation.sysaid.com/docs/rest-api-guide

 

If you need any further clarification or have additional questions, please don't hesitate to ask. We're here to help.

 

Best regards,

 

Thanks Guys,

 

The account needed admin privileges. That resolved my issue. 

Reply