Skip to main content

I’m a bit of a newbie to AssystREST and so maybe missing something glaringly obvious so please forgive me.

 

I am trying to test AssystREST API with very little success.

https://Server:port/assystREST/v2/raml

I can run the above and bring back all the resourceTypes from the api server, however trying to bring back an event based on the ID gives me a permission issue.

 

When using postman to test I just get a 401 unauthorised code.

 

 

When you go to that URL you are asked to login. You will get the permissions linked to the user you login as. 

This wiki page has general guidance on using the REST and has some examples as well: https://wiki.axiossystems.com/assyst11-6Wiki/index.php/Category:assystREST


Is it not possible to pass authorisation to the api, kind of makes it difficult to automate something if you have to manually login when accessing the url


Hi,

 

if you want to automate using assystREST then you can use a tool like Curl to send the commands to asssystREST. Using a tool like Curl will allow you to provide the login credentials.

 

My previous comments where about the permissions linked to the user. Does the user you are currently logging in with have permissions to view the call you are trying to retrieve? 


Reply