- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
11-01-2018 12:27 PM
Anyone had any luck with the following API call.
Trying to make front end for the helpdesk to be able to generate tickets to disable global protect if needed.
api/?type=op&cmd=<request><global-protect-portal><ticket><request></request></ticket></global-protect-portal></request>&key=APIKEY
I keep getting the following response
<response status="error">
<msg>
<line>
op command for client sslvpn timed out as client is not available
</line>
</msg>
</response>
Any help would be appreciated.
Thank you,
-Dustin
02-20-2019 10:17 AM
This was a goal for us as well, creating a utility that our help desk could use without having to have knowledge of or login via the Panorama interface. Here are the steps we took to achieve this:
In the script the following API call worked to generate a ticket:
api/?type=op&cmd=<request><global-protect-portal><ticket><duration>durationInMinutes</duration><portal>portalName</portal><request>0000-0000</request></ticket></global-protect-portal></request>&key=apiKey
Hope that helps!
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!