Solved

Database API

  • 26 October 2021
  • 8 replies
  • 260 views

Hello everyone! I'm new here and I was wondering, does anyone know if there's a premade way here in SysAid to connect SysAid to a database or related? I would be glad if someone could answer. Thank you in advance.
icon

Best answer by Maayan Karstaedt 4 November 2021, 15:39

View original

8 replies

Userlevel 5
Badge

Hi Gabriel1321,
We use REST API at SysAid attaching here a general guide to get you started:

https://documentation.sysaid.com/docs/rest-api-guide

Let us know how it goes!
Cheers,
Maayan, SysAid Community Manager

Badge

Hello everyone! I'm new here and I was wondering, does anyone know if there's a premade way here in SysAid to connect SysAid to a database or related? I would be glad if someone could answer. Thank you in advance.

I tried make login by API with NextJS (JavaScript) but it doesn’t work. Do you have success in logins??
https://***.sysaidit.com/api/v1/login

Badge

 

Hi @eluiz. New here too but saw your post in a couple of threads so see if this helps.

I have two accounts. One domain and one local.

For the domain account, the body is as you have it works for me.

{“user_name”: “XXXXX”, “password”: “XXXXX”}

But for the local account (password set in sysaid), I have to include the account id or it fails. So yours would look like:

{“user_name”: “XXXXX”, “account_id”: “globalbanking“, “password”: “XXXXX”}

Hope this works for you.

Troy

Userlevel 5
Badge

@eluiz did @Troy suggestion solve your issue? 

Let us know!

 

Badge

Sorry for delay, I will try.

 

Badge

 

I change my code but I have problem with CORS policy from the SysAid server.
It is in the backend. 

Userlevel 5
Badge

@eluiz reachout to our Customer Care team via live chat or open a ticket on our Customer Portal to try and figure this out 

Reply