<?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: How can I get the device serial number thru the rest API? in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-can-i-get-the-device-serial-number-thru-the-rest-api/m-p/42207#M973</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't that is possible, as the API is mainly for config manipulation and reporting purpose, and both our reports and config will not show the S/N. If you are looking for an easy way to map all the IP and device for asset management, you can use SNMP. The following MIBS will show you the S/N of a box, and you can find our MIBS in the support portal:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;panSysSerialNumber OBJECT-TYPE&lt;BR /&gt;&amp;nbsp; SYNTAX&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DisplayString (SIZE(0..128))&lt;BR /&gt;&amp;nbsp; MAX-ACCESS&amp;nbsp; read-only&lt;BR /&gt;&amp;nbsp; STATUS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; current&lt;BR /&gt;&amp;nbsp; DESCRIPTION&lt;BR /&gt;&amp;nbsp;&amp;nbsp; "The serial number of the unit. If not available,&lt;BR /&gt;&amp;nbsp;&amp;nbsp; an empty string is returned."&lt;BR /&gt;&amp;nbsp; ::= { panSys 3 }&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 13 Aug 2011 09:41:30 GMT</pubDate>
    <dc:creator>jleung</dc:creator>
    <dc:date>2011-08-13T09:41:30Z</dc:date>
    <item>
      <title>How can I get the device serial number thru the rest API?</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-can-i-get-the-device-serial-number-thru-the-rest-api/m-p/42206#M972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Apparently the serial number of the device does not appear when retrieving device configuration thru rest api.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to extract that data with the restful api?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jun 2011 08:29:12 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-can-i-get-the-device-serial-number-thru-the-rest-api/m-p/42206#M972</guid>
      <dc:creator>andrei_feldman</dc:creator>
      <dc:date>2011-06-27T08:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the device serial number thru the rest API?</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-can-i-get-the-device-serial-number-thru-the-rest-api/m-p/42207#M973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't that is possible, as the API is mainly for config manipulation and reporting purpose, and both our reports and config will not show the S/N. If you are looking for an easy way to map all the IP and device for asset management, you can use SNMP. The following MIBS will show you the S/N of a box, and you can find our MIBS in the support portal:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;panSysSerialNumber OBJECT-TYPE&lt;BR /&gt;&amp;nbsp; SYNTAX&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DisplayString (SIZE(0..128))&lt;BR /&gt;&amp;nbsp; MAX-ACCESS&amp;nbsp; read-only&lt;BR /&gt;&amp;nbsp; STATUS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; current&lt;BR /&gt;&amp;nbsp; DESCRIPTION&lt;BR /&gt;&amp;nbsp;&amp;nbsp; "The serial number of the unit. If not available,&lt;BR /&gt;&amp;nbsp;&amp;nbsp; an empty string is returned."&lt;BR /&gt;&amp;nbsp; ::= { panSys 3 }&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Aug 2011 09:41:30 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-can-i-get-the-device-serial-number-thru-the-rest-api/m-p/42207#M973</guid>
      <dc:creator>jleung</dc:creator>
      <dc:date>2011-08-13T09:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the device serial number thru the rest API?</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-can-i-get-the-device-serial-number-thru-the-rest-api/m-p/42208#M974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The 4.1 XML API now has type=op; for example with PAN-perl you can use panxapi -o to do:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$ (panxapi -t pa-200 -Xpro 'show system info';&lt;BR /&gt;&amp;gt;&amp;nbsp; echo 'print $VAR1-&amp;gt;{system}-&amp;gt;{serial},"\n"') | perl&lt;BR /&gt;op: success&lt;BR /&gt;001606000471&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$ panxapi -t pa-200 -Xxro 'show system info'|&lt;BR /&gt;&amp;gt; perl -ne 'print $1,"\n" if m@&amp;lt;serial&amp;gt;(.+)&amp;lt;/serial&amp;gt;@'&lt;BR /&gt;op: success&lt;BR /&gt;001606000471&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2012 00:12:40 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-can-i-get-the-device-serial-number-thru-the-rest-api/m-p/42208#M974</guid>
      <dc:creator>ksteves1</dc:creator>
      <dc:date>2012-02-22T00:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the device serial number thru the rest API?</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-can-i-get-the-device-serial-number-thru-the-rest-api/m-p/42209#M975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, think this will help me.&lt;/P&gt;&lt;P&gt;Can you send a reference to the new abilities added to the API in this version?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2012 21:09:52 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-can-i-get-the-device-serial-number-thru-the-rest-api/m-p/42209#M975</guid>
      <dc:creator>andrei_feldman</dc:creator>
      <dc:date>2012-02-22T21:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the device serial number thru the rest API?</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-can-i-get-the-device-serial-number-thru-the-rest-api/m-p/42210#M976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;See the API Guide for 4.1 at &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://live.paloaltonetworks.com/docs/DOC-1981"&gt;https://live.paloaltonetworks.com/docs/DOC-1981&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2012 04:29:19 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-can-i-get-the-device-serial-number-thru-the-rest-api/m-p/42210#M976</guid>
      <dc:creator>SRA</dc:creator>
      <dc:date>2012-02-28T04:29:19Z</dc:date>
    </item>
  </channel>
</rss>

