<?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 PanOS 4.1 and Commits via XML API in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/panos-4-1-and-commits-via-xml-api/m-p/11957#M320</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I upgraded to PanOS 4.1 and noticed I could no longer make commits via the XML API. Seems like maybe the syntax has changed but I can't find any documentation. When I execute the query below either by script or browser I'm returned with '500 Internal Server Error'. Correct me if I'm wrong but the XML API is kind of useless if we can't commit changes made with it. :smileysilly:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Commit Query:&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;A href="https://%3cpanfw%3e/esp/restapi.esp?type=config&amp;amp;action=commit&amp;amp;key=%3capikey"&gt;https://&amp;lt;panfw&amp;gt;/esp/restapi.esp?type=config&amp;amp;action=commit&amp;amp;key=&amp;lt;apikey&lt;/A&gt;&amp;gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;Any one have any suggestions?&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;-Brandon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Nov 2011 21:09:46 GMT</pubDate>
    <dc:creator>gentoolicious</dc:creator>
    <dc:date>2011-11-02T21:09:46Z</dc:date>
    <item>
      <title>PanOS 4.1 and Commits via XML API</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/panos-4-1-and-commits-via-xml-api/m-p/11957#M320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I upgraded to PanOS 4.1 and noticed I could no longer make commits via the XML API. Seems like maybe the syntax has changed but I can't find any documentation. When I execute the query below either by script or browser I'm returned with '500 Internal Server Error'. Correct me if I'm wrong but the XML API is kind of useless if we can't commit changes made with it. :smileysilly:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Commit Query:&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;A href="https://%3cpanfw%3e/esp/restapi.esp?type=config&amp;amp;action=commit&amp;amp;key=%3capikey"&gt;https://&amp;lt;panfw&amp;gt;/esp/restapi.esp?type=config&amp;amp;action=commit&amp;amp;key=&amp;lt;apikey&lt;/A&gt;&amp;gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;Any one have any suggestions?&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;-Brandon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2011 21:09:46 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/panos-4-1-and-commits-via-xml-api/m-p/11957#M320</guid>
      <dc:creator>gentoolicious</dc:creator>
      <dc:date>2011-11-02T21:09:46Z</dc:date>
    </item>
    <item>
      <title>Re: PanOS 4.1 and Commits via XML API</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/panos-4-1-and-commits-via-xml-api/m-p/11958#M321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brandon,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In 4.1 the XML API has been re-organized and has several enhancements.&amp;nbsp; One of which is that commit is now a 'type' and no longer nested as an 'action' under config.&amp;nbsp; There are also several additional options for partial and vsys specific commit operations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://hostname/api/?type=commit&amp;amp;action=set&amp;amp;key=keyvalue&amp;amp;cmd="&gt;https://hostname/api/?type=commit&amp;amp;action=set&amp;amp;key=keyvalue&amp;amp;cmd=&lt;/A&gt;&lt;SPAN&gt;&amp;lt;commit&amp;gt;&amp;lt;/commit&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will also work (the original API path has been preserved for backward compatability:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://honstame/esp/restapi.esp?type=commit&amp;amp;action=set&amp;amp;key=keyvalue&amp;amp;cmd="&gt;https://honstame/esp/restapi.esp?type=commit&amp;amp;action=set&amp;amp;key=keyvalue&amp;amp;cmd=&lt;/A&gt;&lt;SPAN&gt;&amp;lt;commit&amp;gt;&amp;lt;/commit&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you log into your firewall as a super user for an admininstrative web session, then open a new tab in your browser and navigate to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://hostname/api/"&gt;https://hostname/api/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will be greeted with the new API command browser to assist you in constructing XML API calls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Marc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2011 00:01:29 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/panos-4-1-and-commits-via-xml-api/m-p/11958#M321</guid>
      <dc:creator>mbenoit</dc:creator>
      <dc:date>2011-11-03T00:01:29Z</dc:date>
    </item>
  </channel>
</rss>

