- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Enhanced Security Measures in Place: To ensure a safer experience, we’ve implemented additional, temporary security measures for all users.
07-19-2022 08:24 AM
When entering a valid request number and selecting the correct portal. API is returning
object(stdClass)#4 (2) {
["@attributes"]=> object(stdClass)#3 (1) {
["status"]=>
string(5) "error"
} ["msg"]=>
object(stdClass)#5 (1) {
["line"]=> string(32) "Command succeeded with no output"
}
}```
URL: https://panorama.gg.net/api/?type=op&cmd=<request><global-protect-portal><ticket><duration>30</duration><portal>gp1.gg.org</portal><request>E53F-E44E</request></ticket></global-protect-portal></request>&key=APIKEY
07-20-2022 07:03 AM
Having the same issue and have a case open. So far no resolution.
08-11-2022 10:03 AM
https://panorama.foo.bar/api/?type=op&cmd=<request><global-protect-portal><ticket><duration>1439</duration><portal>GlobalProtect_Portal</portal><request>1234-ABCD</request><tpl>Mobile_User_Template</tpl></ticket></global-protect-portal></request>"
You need to add the tpl element to the API request. That's at least how I fixed it.
Cheers
Christoph
02-27-2023 10:04 AM
This, I found out the hard way and saw that adding <tpl>Mobile_User_Template</tpl> in the API reference. We had been using a legacy Panorama from the start on PanOS 9.x so only needed to do this from 10.x I'd assume.
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!