Page 1 of 1

Submit a ticket via URL

Posted: Mon Oct 30, 2017 8:40 pm
by prostar190fan
I am attempting to submit tickets via a url, however with no user interaction. I am aware that you can pre-fill out all of the fields however users still need to input the spam prevention and click on submit.

Any Ideas?

I'd like to not write directly to the database.

Thanks,

Tom

Re: Submit a ticket via URL

Posted: Tue Oct 31, 2017 7:05 am
by Klemen
Unfortunately there is no api currently available that would allow this.

The only work-around that would work out-of-the-box I see is if you send ticket details in an email to Hesk and use email to ticket (piping or POP3/IMAP fetching) to turn that email into a ticket.

Or you could hire someone to modify the submit_ticket.php file for you to allow direct posts without any spam checks etc.

Re: Submit a ticket via URL

Posted: Tue Oct 31, 2017 1:07 pm
by prostar190fan
Klemen wrote: Tue Oct 31, 2017 7:05 am Unfortunately there is no api currently available that would allow this.

The only work-around that would work out-of-the-box I see is if you send ticket details in an email to Hesk and use email to ticket (piping or POP3/IMAP fetching) to turn that email into a ticket.

Or you could hire someone to modify the submit_ticket.php file for you to allow direct posts without any spam checks etc.
Klemen,

Thanks for your response, I never thought about the e-mail option to accomplish the same thing. I will also take a look at the submit_ticket.php and see what I can come up with.

Is an API planned for the future? Do you know if sysaid has an API for this type of functionality?

Thanks,

Tom

Re: Submit a ticket via URL

Posted: Wed Nov 01, 2017 8:06 am
by Klemen
An API is planned, but honestly not a priority at the moment.

SysAid does offer one, for more information regarding SysAid please contact info@sysaid.com

There is also an unofficial mod collection called Mods for Hesk by Mike which I believe does have existing API support.

Re: Submit a ticket via URL

Posted: Wed Nov 01, 2017 12:30 pm
by mkoch227
Klemen wrote: Wed Nov 01, 2017 8:06 am There is also an unofficial mod collection called Mods for Hesk by Mike which I believe does have existing API support.
Mods for HESK 3.1.1 does indeed have a REST API (documentation can be found at https://mods-for-hesk.readme.io/reference). However, it is currently a beta, and some issues may be present (such as this issue reported here along with a solution: viewtopic.php?f=19&p=25824#p25750)

Re: Submit a ticket via URL

Posted: Mon Nov 06, 2017 8:08 pm
by prostar190fan
mkoch227 wrote: Wed Nov 01, 2017 12:30 pm
Klemen wrote: Wed Nov 01, 2017 8:06 am There is also an unofficial mod collection called Mods for Hesk by Mike which I believe does have existing API support.
Mods for HESK 3.1.1 does indeed have a REST API (documentation can be found at https://mods-for-hesk.readme.io/reference). However, it is currently a beta, and some issues may be present (such as this issue reported here along with a solution: viewtopic.php?f=19&p=25824#p25750)
Mike,

This may be exactly what I am looking for; I'd be extracting the API which shouldn't be too hard to do.

Thanks,

Tom