<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Panorama XML Edit API in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/panorama-xml-api/m-p/179679#M1458</link>
    <description>&lt;P&gt;For example if I want to change the destination zone and the action at the same time using a single api call. Is it possible?&lt;/P&gt;</description>
    <pubDate>Mon, 02 Oct 2017 20:24:14 GMT</pubDate>
    <dc:creator>ananthkp92</dc:creator>
    <dc:date>2017-10-02T20:24:14Z</dc:date>
    <item>
      <title>Panorama XML API</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/panorama-xml-api/m-p/1486#M38</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is the XML API on Panorama limited to the same API as the devices?&amp;nbsp; I discovered if I switch the&amp;nbsp; context in the Panorama web console using the "Context" dropdown and then issue an XML API call like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://PANORAMA/esp/restapi.esp?type=config&amp;amp;key=KEYVALUE&amp;amp;action=show"&gt;https://PANORAMA/esp/restapi.esp?type=config&amp;amp;key=KEYVALUE&amp;amp;action=show&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://PANORAMA/esp/restapi.esp?type=config&amp;amp;key=KEYVALUE&amp;amp;action=get"&gt;https://PANORAMA/esp/restapi.esp?type=config&amp;amp;key=KEYVALUE&amp;amp;action=get&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it acts&amp;nbsp; exactly as if I had issued it to a device, returning that device's&amp;nbsp; running or candidate configuration.&amp;nbsp; Is there an XML API parameter in Panorama to switch the device context or query for multiple devices' configurations at once?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, is there any way to retrieve such items as the user ID agent user/group cache or the current routing table via any of the XML API calls?&amp;nbsp; We would like to be able to gather this type of information from Panorama or the individual devices but preferably centralized and without logging into the CLI for each device.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2011 18:28:53 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/panorama-xml-api/m-p/1486#M38</guid>
      <dc:creator>tgarrett</dc:creator>
      <dc:date>2011-06-29T18:28:53Z</dc:date>
    </item>
    <item>
      <title>Panorama XML Edit API</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/panorama-xml-api/m-p/179675#M1455</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;I am trying to edit multiple objects&amp;nbsp;within a single&amp;nbsp;rule using the Panorama XML API.&amp;nbsp;I am able to edit (update) one object at a time. Is it possible to edit multiple objects&amp;nbsp;using a single API call?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Oct 2017 20:18:04 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/panorama-xml-api/m-p/179675#M1455</guid>
      <dc:creator>ananthkp92</dc:creator>
      <dc:date>2017-10-02T20:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: Panorama XML Edit API</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/panorama-xml-api/m-p/179677#M1456</link>
      <description>&lt;P&gt;You can, you'd just have to modify your xpath and element accordingly to match the whole configuration you're passing in. Can you provide more detail on what exactly you're trying to change?&lt;/P&gt;</description>
      <pubDate>Mon, 02 Oct 2017 20:19:49 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/panorama-xml-api/m-p/179677#M1456</guid>
      <dc:creator>nigelswift</dc:creator>
      <dc:date>2017-10-02T20:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: Panorama XML Edit API</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/panorama-xml-api/m-p/179679#M1458</link>
      <description>&lt;P&gt;For example if I want to change the destination zone and the action at the same time using a single api call. Is it possible?&lt;/P&gt;</description>
      <pubDate>Mon, 02 Oct 2017 20:24:14 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/panorama-xml-api/m-p/179679#M1458</guid>
      <dc:creator>ananthkp92</dc:creator>
      <dc:date>2017-10-02T20:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: Panorama XML Edit API</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/panorama-xml-api/m-p/179681#M1459</link>
      <description>&lt;P align="left"&gt;&amp;nbsp;&lt;/P&gt;&lt;P align="left"&gt;According to the documentation if I want to change a single object( eg. application) the xpath will be&lt;/P&gt;&lt;P align="left"&gt;xpath=/config/devices/entry/vsys/entry/rulebase/security/rules/entry[@name='rule1']/appl&lt;/P&gt;&lt;P&gt;ication&lt;/P&gt;&lt;P&gt;and element will be&lt;/P&gt;&lt;P&gt;element=&amp;lt;application&amp;gt;&amp;lt;member&amp;gt;app-name&amp;lt;/member&amp;gt;&amp;lt;/application&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But my requirement is to change multiple objects ( eg. application and action) using a single api call. Is it possible&lt;BR /&gt;? If yes, what will be the xpath?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Oct 2017 20:32:06 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/panorama-xml-api/m-p/179681#M1459</guid>
      <dc:creator>ananthkp92</dc:creator>
      <dc:date>2017-10-02T20:32:06Z</dc:date>
    </item>
    <item>
      <title>Re: Panorama XML Edit API</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/panorama-xml-api/m-p/179683#M1460</link>
      <description>&lt;P&gt;Your xpath would look something like:&lt;/P&gt;&lt;PRE&gt;xpath=/config/devices/entry/vsys/entry/rulebase/security/rules/entry[@name='rule1']&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And your element would include both configuration for application and destination, something like:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&amp;lt;application&amp;gt;&amp;lt;member&amp;gt;app-name&amp;lt;/member&amp;gt;&amp;lt;/application&amp;gt;&amp;lt;destination&amp;gt;&amp;lt;member&amp;gt;any&amp;lt;/member&amp;gt;&amp;lt;/destination&amp;gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Oct 2017 20:46:09 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/panorama-xml-api/m-p/179683#M1460</guid>
      <dc:creator>nigelswift</dc:creator>
      <dc:date>2017-10-02T20:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: Panorama XML Edit API</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/panorama-xml-api/m-p/179686#M1461</link>
      <description>&lt;P&gt;I tried that but I am getting error 12&lt;/P&gt;&lt;P&gt;Edit breaks config validity&lt;/P&gt;</description>
      <pubDate>Mon, 02 Oct 2017 21:01:26 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/panorama-xml-api/m-p/179686#M1461</guid>
      <dc:creator>ananthkp92</dc:creator>
      <dc:date>2017-10-02T21:01:26Z</dc:date>
    </item>
  </channel>
</rss>

