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

Lansweeper SSH - Keyboard Interactive Authentication
by  blackmoonwolf   Go to last post Go to first unread
Last post: Today at 5:12:41 AM(UTC)
Lansweeper Get My Documents Folder Size
by  cbraafhart  
Go to last post Go to first unread
Last post: Yesterday at 2:25:18 PM(UTC)
Lansweeper Lansweeper Errors - Licencing and scanning
by  dnkleaf   Go to last post Go to first unread
Last post: 11/27/2020 1:02:13 PM(UTC)
Lansweeper Search for Blank Fields
by  CS Caritas Socialis IT  
Go to last post Go to first unread
Last post: 11/27/2020 12:19:05 PM(UTC)
Lansweeper Uninstalled software still listed
by  Dennis Gewillig   Go to last post Go to first unread
Last post: 11/27/2020 9:19:19 AM(UTC)
Lansweeper Software deployment initiated by user
by  LS_enthusiast_4444   Go to last post Go to first unread
Last post: 11/26/2020 9:28:18 PM(UTC)
Lansweeper Help Desk not disabling for regular users?
by  FrankSc  
Go to last post Go to first unread
Last post: 11/26/2020 8:18:38 PM(UTC)