Notification

Icon
Error

Helpdesk API - Helpdesk API

Posted: Thursday, June 13, 2019 5:00:11 PM(UTC)
Shane Sanders

Shane Sanders

Member Original PosterPosts: 1
1
Like
Hello Everyone,
I have created a basic web form for my end users to create tickets with. See code below. I am trying to add multiple custom fields to this and find myself coming up short. If you have a working solution for this can you post or send me an email to ssanders@mdspn.com with your working code? Thanks in advance.

Code:
<form action="http://lansweeper/api.aspx?Action=AddTicket&Key=xxx" method="post">
  <div>
    <label for="subject">What trouble are you having?</label>
    <input name="subject" id="subject" value="">
  </div>
  <div>
    <label for="description">Please be descriptive?</label>
    <input name="description" id="description" value="">
  </div>
  <div>
    <label for="email">E-mail Address</label>
    <input name="email" id="email" value="ssanders@mdspn.com">
  </div>


  <div>
    <label for="customfields">IP Address</label>
    <input name="customfields" id="customfields" value="">
  </div>


  <div>
    <button>Submit</button>
  </div>
</form>
Skylar@Hennig
#1Skylar@Hennig Member Posts: 2  
posted: 10/27/2020 4:44:50 PM(UTC)
Hello,

did you ever get this working? I haven't been able to use the API to create tickets at all. even if I type in the URL per the documentation (http://lansweeper:81.api.aspx?Action=AddTicket&Key=123&Subject=Test&Description=TEst&username=test&email=test@tes.com) I get a server 500 error.

Active Discussions

Report Center Default Browser and Version
by  RC62N  
Go to last post Go to first unread
Last post: 11/26/2020 8:00:54 PM(UTC)
Lansweeper Trying to make a custom report that sorts assets by state
by  mzipperer   Go to last post Go to first unread
Last post: 11/25/2020 5:36:52 PM(UTC)
Lansweeper Report - All Assets with Specfic Default Gateway
by  RC62N  
Go to last post Go to first unread
Last post: 11/25/2020 4:18:08 PM(UTC)
Report Center Windows update report
by  ToeJoe   Go to last post Go to first unread
Last post: 11/24/2020 3:39:00 PM(UTC)
Lansweeper Report - assets
by  Andy.S  
Go to last post Go to first unread
Last post: 11/23/2020 2:42:01 PM(UTC)
Lansweeper Run Report on PCs from a list
by  RC62N   Go to last post Go to first unread
Last post: 11/16/2020 4:23:12 PM(UTC)