0 Replies Latest reply on Oct 8, 2019 2:35 PM by amish5017

    SOLARWINDS WEB HELPDESK API 401 ERROR

    amish5017

      I'm trying to use the APIs as per this guide: https://documentation.solarwinds.com/archive/pdf/WHD/WHDAPIGuide.pdf

      When I try to authenticate with a username password combination or an API key,  I get a 401 error. The same credentials work when I log into my solarwinds helpdesk system.

      My college uses this for my helpdesk system and I'm required to create a web interface based on the tickets in the system, for which I need the APIs. Is there some setup that needs to be done by my network administrator? Also, when I'm signed into the web interface and try to go into the URL mentioned in the manual (.woa/ra/Tickets/1), I get a webpage that simply says authentication required.

      Here's how I'm calling the API:

      curl "https://localhost/helpdesk/WebObjects/Helpdesk.woa/ra/Tickets/1?username=admin&password=admin"

      The webpage for my college is:

       

      "https://collegeserver.com/helpdesk/WebObjects/Helpdesk.woa/ra/Tickets/1?username=admin&password=admin"

       

      Whenever I try to use curl or go straight from the browser to the link above even when I'm logged into solar winds helpdesk, I get a page that simply says Authentication required.