I am trying to submit a ticket using Sysaid REST API. I am stuck at making a login connection.
I am using Phyton, here’s the code:
import requests
headers = {"Content-Type":"application/json"}
info={ "user_name": "username",
"account_id": "accountid",
"password" : "password"
}
#url = "https://systemone.sysaidit.com/api/v1/Login"
l = requests.post(url=url, json=info, headers=headers)
We use SSO/Oauth. I think thats causing problem as I found on Sysaid site that REST Api wont work for OAuth users. Is there a work around?
- Also, a maximum of two API login requests will be allowed within a five minute period
I have to wait 5 minutes everytime to test , my code. For API development this should not be the limitation. Can you take this off for out company?