<?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 Looking for xml api to add a new patch number to hip-objects in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/looking-for-xml-api-to-add-a-new-patch-number-to-hip-objects/m-p/288516#M2032</link>
    <description>&lt;P&gt;Hi all, am having trouble to find the right element value to add in a new patch number under hip objects, the goal is to add '5678' as a new patch number under the following:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2019-09-16 at 3.17.51 PM.png" style="width: 999px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/21449iDEE4D66FC9692117/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screenshot 2019-09-16 at 3.17.51 PM.png" alt="Screenshot 2019-09-16 at 3.17.51 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;below is what i tried without any success with an error msg of "malformed request":&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;https://&lt;/SPAN&gt;&lt;A href="http://tctansible.southeastasia.cloudapp.azure.com/" target="_blank"&gt;f&lt;/A&gt;w_ip&lt;SPAN&gt;/api/?&lt;/SPAN&gt;&lt;SPAN&gt;key=&lt;/SPAN&gt;&lt;SPAN&gt;api_key&lt;/SPAN&gt;&lt;SPAN&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN&gt;type&lt;/SPAN&gt;&lt;SPAN&gt;=config&amp;amp;action=set&lt;/SPAN&gt;&lt;SPAN&gt;&amp;amp;xpath=&lt;/SPAN&gt;&lt;SPAN&gt;/config/shared/profiles/hip-objects&amp;amp;element=&amp;lt;entry name=“patch-mgt”&amp;gt;&amp;lt;patch-management&amp;gt;&amp;lt;criteria&amp;gt;&amp;lt;missing-patches&amp;gt;&amp;lt;patches&amp;gt;&amp;lt;member&amp;gt;5678&amp;lt;/member&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;/patches&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;/missing-patches&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;/criteria&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;/patch-management&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;/entry&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;the following is the related xml config:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2019-09-16 at 3.21.06 PM.png" style="width: 750px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/21450iA8B488D7067912FC/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screenshot 2019-09-16 at 3.21.06 PM.png" alt="Screenshot 2019-09-16 at 3.21.06 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can anyone advise what webt wrong? thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 16 Sep 2019 07:22:51 GMT</pubDate>
    <dc:creator>chtoh82</dc:creator>
    <dc:date>2019-09-16T07:22:51Z</dc:date>
    <item>
      <title>Looking for xml api to add a new patch number to hip-objects</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/looking-for-xml-api-to-add-a-new-patch-number-to-hip-objects/m-p/288516#M2032</link>
      <description>&lt;P&gt;Hi all, am having trouble to find the right element value to add in a new patch number under hip objects, the goal is to add '5678' as a new patch number under the following:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2019-09-16 at 3.17.51 PM.png" style="width: 999px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/21449iDEE4D66FC9692117/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screenshot 2019-09-16 at 3.17.51 PM.png" alt="Screenshot 2019-09-16 at 3.17.51 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;below is what i tried without any success with an error msg of "malformed request":&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;https://&lt;/SPAN&gt;&lt;A href="http://tctansible.southeastasia.cloudapp.azure.com/" target="_blank"&gt;f&lt;/A&gt;w_ip&lt;SPAN&gt;/api/?&lt;/SPAN&gt;&lt;SPAN&gt;key=&lt;/SPAN&gt;&lt;SPAN&gt;api_key&lt;/SPAN&gt;&lt;SPAN&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN&gt;type&lt;/SPAN&gt;&lt;SPAN&gt;=config&amp;amp;action=set&lt;/SPAN&gt;&lt;SPAN&gt;&amp;amp;xpath=&lt;/SPAN&gt;&lt;SPAN&gt;/config/shared/profiles/hip-objects&amp;amp;element=&amp;lt;entry name=“patch-mgt”&amp;gt;&amp;lt;patch-management&amp;gt;&amp;lt;criteria&amp;gt;&amp;lt;missing-patches&amp;gt;&amp;lt;patches&amp;gt;&amp;lt;member&amp;gt;5678&amp;lt;/member&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;/patches&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;/missing-patches&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;/criteria&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;/patch-management&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;/entry&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;the following is the related xml config:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2019-09-16 at 3.21.06 PM.png" style="width: 750px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/21450iA8B488D7067912FC/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screenshot 2019-09-16 at 3.21.06 PM.png" alt="Screenshot 2019-09-16 at 3.21.06 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can anyone advise what webt wrong? thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2019 07:22:51 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/looking-for-xml-api-to-add-a-new-patch-number-to-hip-objects/m-p/288516#M2032</guid>
      <dc:creator>chtoh82</dc:creator>
      <dc:date>2019-09-16T07:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for xml api to add a new patch number to hip-objects</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/looking-for-xml-api-to-add-a-new-patch-number-to-hip-objects/m-p/288880#M2034</link>
      <description>&lt;P&gt;Got it resolved, the xpath is incorrect. The correct one should be&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/config/devices/entry[@name='localhost.localdomain']/vsys/entry[@name='vsys1']/profiles/hip-objects/entry[@name='patch-mgt']&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2019 04:52:56 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/looking-for-xml-api-to-add-a-new-patch-number-to-hip-objects/m-p/288880#M2034</guid>
      <dc:creator>chtoh82</dc:creator>
      <dc:date>2019-09-18T04:52:56Z</dc:date>
    </item>
  </channel>
</rss>

