
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-28-2022 06:54 PM
I am trying to setup the API for the helpdesk. I am using Postman just to test at the moment. I am getting a request timed out error when doing a basic request (http://lansweeper.com:81/api.aspx?key=1234) or trying to retrieve info about a specific ticket (http://lansweeper.com:81/api.aspx?key=1234&Action=GetTicket&TicketID=3425). I also tried HTTPS. I set the time out to never within postman settings so I’m wondering if it’s something on the server.
I’m wondering is there something configured incorrectly with the server? Is there a list of required server config for the API to work?
Solved! Go to Solution.
- Labels:
-
General Discussion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-11-2022 10:57 PM
Thanks for trying out our API, have you checked out our documentation, you will find it here Welcome to Lansweeper Cloud's Technical Documentation | Documentation – Lansweeper

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-06-2023 02:28 PM
Support Feedbac ksolved my issue. Here it is for anyone else having the same issue
500 errors are rather generic and are usually caused by a configuration problem in the connection between the two machines. If the parameters or actions are incorrect, the API will respond with correct feedback.
Most likely, the issue can be resolved by one of the following.
- Adding the necessary credentials to the API call that is being made
- Allow anonymous authentication by following the next steps:
- Navigate to %windir%\system32\inetsrv\config on the webserver and open the following file: applicationHost.config
- In the security setting section, change the 'anonymousAuthentication' to 'Allow' as shown below
<sectionGroup name="security">
<section name="access" overrideModeDefault="Deny" />
<section name="applicationDependencies" overrideModeDefault="Deny" />
<sectionGroup name="authentication">
<section name="anonymousAuthentication" overrideModeDefault="Allow" />
- Navigate to Program Files (x86)\Lansweeper\Website and open Web.config
- Add/update the following to the config file
<system.webServer>
<security>
<authentication>
<anonymousAuthentication enabled="true" />
</authentication>
</security>
</system.webServer>
- Restart the World Wide Web Publishing service or restart your Lansweeper site in IIS Manager.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-28-2022 09:07 PM
SklyarP,
I'm having the same issue. What did you do to finally get it to work? The link shared by Casslloyd seems to only be for the cloud API and not the on-prem ticket API.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-11-2022 10:57 PM
Thanks for trying out our API, have you checked out our documentation, you will find it here Welcome to Lansweeper Cloud's Technical Documentation | Documentation – Lansweeper
