The GoTo Community is currently experiencing some technical issues affecting new posts and comments. You may need to reload the page you are on before you can post a comment. We are actively working with our service provider and apologize for the frustration.
Forum Discussion
Mike Suding
13 years agoActive Contributor
How can I submit an incident without requiring login (via API)?
Using API you can host a web page that uses API to submit an incident to a specific service.
25 Replies
- David Galicia11 years agoNew MemberIf someone could post the php link, that would be grand. ;)
- lanlav2611 years agoNew Memberhttps://citrix.sharefile.com/d/s1ae52... Dead link, can you please provide the right link for this one? thanks
- Derek Blackburn11 years agoNew MemberA solution I have been using is a ruby on rails installation with nginx and unicorn internally for testing. I use a general user account token to post. Rails allows for easy validation and rest calls.
- Euler Ferrer12 years agoNew MemberThe PHP Link isn't valid anymore.
- Mike Soucy12 years agoNew MemberThe files do not exist/not accessible. I even created a shareit login in order to see if this was the problem for accessing the PHP file. I've got a thread that is related to this (TestLink in subject) as I am trying to find a way to access GTA Service Desk for the Problem page (either to link to an existing problem or post a new problem from a test failure).
 So if anyone has the php source, I'd love to look it over to see if it could work for my needs (TestLink).
 Mike
- Stewart1112 years agoNew MemberCheers. Thanks for that...
- Mike Suding12 years agoActive ContributorHere's one of the simplest commands I use to test the API. As you can see, it uses the freeware CURL.exe (link in my main post). I hope this helps.
 
 curl -k -u x:459c4da6401d39bbf9327ee17175e25c -H "Content-Type: application/json" https://deskapi.gotoassist.com/v1/services.json
 
- Mike Suding12 years agoActive ContributorLook at the bottom of the example page and click on "handy tool..." To find YOUR service ID
- Stewart1112 years agoNew MemberHi Mike,
 Thanks for sharing the code. It works fine when using the enclosed API, however when I add my (or company) API, it fails to work. When it tries to populate the DDLs, the code is returning back an error being NULL. I suspect it is to do with the "service_id" that is specified within the create-ticket.aspx.cs file. How is that number populated as there is no mention of getting that information within the API document except stating that it is a mandatory requirement on page 164 (160 on footer of page)
 string type_url = "https://deskapi.gotoassist.com/v1/ser... + service_id + ".json";
 Looking forward to your reply...
 Stewy
- Hitesh Varde12 years agoNew MemberHi Mike,
 I tried various options to POST / PUT Company using service desk API, but still unable to perform this.
 Do we have any news on this? Please help me with some hint / pointer to get it running.
 Thanks,
 Hitesh