- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
12-08-2020 05:29 AM
Hi everyone,
I'm trying to get the Prisma Remote Network details via an API call.
From the Panorama webgui debug page, I'm able to do this... like you see here:
that red line has all the information I want with via an API call,
so I tried:
wget --no-check-certificate -qO- 'https://<panorama-ip>/api/?type=op&cmd=<request><plugins><cloud_services><gpcs><query><action>getNetworkDetailData</action><body>b64eyJzZXJ2aWNlVHlwZSI6ImZ3YWFzIn0=</body></query></gpcs></cloud_services></plugins></request>&key=xxxxxxx'
and the result is:
<response status="error" code="17"><msg><line><![CDATA[ request -> plugins -> cloud_services -> gpcs -> query not available to xmlapi client]]></line></msg></response>
"query not available to xmlapi client" 😞 why ? or perhaps another way to do this?
thanks!
Dieter
12-12-2020 08:28 AM
Hello @DieterV2
Not 100% of what is done if the debug WebAPI is available. I have seen there are only certain requests and responses.
Currently the product does not (and may not support) attempts to obtain the information you are requesting.
Its like a programmer who offers output in $string, but the user wants it to be in $WORD. (sorry, cannot do it, not supported.. may be a bad example)
You can contact your AE to submit a feature request, yet unknown, when it/if would be implemented.
12-16-2020 01:54 AM
thanks for the reply Steve.
I'll open a support case , will let you know here if there was a solution.
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!