Skip to main content
Solved

SysAid Rest API Login

  • July 26, 2023
  • 2 replies
  • 707 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"
}
 

 

Best answer by dragos.baciu

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,

 

2 replies

dragos.baciu
SysAider
Forum|alt.badge.img+1
  • SysAider
  • 27 replies
  • Answer
  • July 26, 2023

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,

 


  • Author
  • New SysMate
  • 1 reply
  • July 28, 2023

Thanks Guys,

 

The account needed admin privileges. That resolved my issue.