<?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 Get Devices ProductID via API in Network Platform API</title>
    <link>https://community.cisco.com/t5/network-platform-api/get-devices-productid-via-api/m-p/5404243#M1050</link>
    <description>&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;it looks like I´m missing something or there´s a lack in the API I don´t understand.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My use case:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I want to gather the (exact) product id´s of my Meraki dashboard inventory. If I check the Meraki Dashboard (via Browser) I can see all devices with their corresponding prod-id´s listed (Organizations / Configure / Inventory), along with some more data.&lt;/P&gt;&lt;P&gt;I think I found the API call that´s the API version of this:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;{{baseUrl}}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;/organizations/:organizationId/inventory/devices&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;But, as the result I do not see the "MR72-HW" as the modell, but &lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"mac"&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;"00:18:0a:xx:yy:zz"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"serial"&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;"aaaa-bbbb-cccc"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"name"&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;"AP00"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"model"&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;"MR72"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;....&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;},&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Well now we can say that I could just programatically add the "-HW" to it, done. &lt;STRONG&gt;BUT&lt;/STRONG&gt;, there are also country/regional specific devices, like "Z1-HW-EU", but in API it just shows "Z1".&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Is there any other API call to gather the exact Product ID from the Dashboard?&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Thanks for support.&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Cheers&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Torsten&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 02 Feb 2024 08:10:25 GMT</pubDate>
    <dc:creator>torsten.brink</dc:creator>
    <dc:date>2024-02-02T08:10:25Z</dc:date>
    <item>
      <title>Get Devices ProductID via API</title>
      <link>https://community.cisco.com/t5/network-platform-api/get-devices-productid-via-api/m-p/5404243#M1050</link>
      <description>&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;it looks like I´m missing something or there´s a lack in the API I don´t understand.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My use case:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I want to gather the (exact) product id´s of my Meraki dashboard inventory. If I check the Meraki Dashboard (via Browser) I can see all devices with their corresponding prod-id´s listed (Organizations / Configure / Inventory), along with some more data.&lt;/P&gt;&lt;P&gt;I think I found the API call that´s the API version of this:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;{{baseUrl}}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;/organizations/:organizationId/inventory/devices&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;But, as the result I do not see the "MR72-HW" as the modell, but &lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"mac"&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;"00:18:0a:xx:yy:zz"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"serial"&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;"aaaa-bbbb-cccc"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"name"&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;"AP00"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"model"&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;"MR72"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;....&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;},&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Well now we can say that I could just programatically add the "-HW" to it, done. &lt;STRONG&gt;BUT&lt;/STRONG&gt;, there are also country/regional specific devices, like "Z1-HW-EU", but in API it just shows "Z1".&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Is there any other API call to gather the exact Product ID from the Dashboard?&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Thanks for support.&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Cheers&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Torsten&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 02 Feb 2024 08:10:25 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/get-devices-productid-via-api/m-p/5404243#M1050</guid>
      <dc:creator>torsten.brink</dc:creator>
      <dc:date>2024-02-02T08:10:25Z</dc:date>
    </item>
    <item>
      <title>Re: Get Devices ProductID via API</title>
      <link>https://community.cisco.com/t5/network-platform-api/get-devices-productid-via-api/m-p/5404244#M1051</link>
      <description>&lt;P&gt;I don't think there's a way to do it beyond the call you already found and adding -HW.&lt;/P&gt;&lt;P&gt;The PID country suffix is typically selecting the power cable to order (if any) rather than a &lt;EM&gt;device&lt;/EM&gt; difference.&lt;/P&gt;&lt;P&gt;You could create a rule to rebuild the suffix (on products where it would be valid, so you'd need to maintain a table) based on the &lt;SPAN&gt;countryCode&lt;/SPAN&gt; value in the API response.&lt;/P&gt;&lt;P&gt;The cellular devices with the -NA or -WW suffix are one exception I can think of, though whether they are actual hardware variants rather than determined by software/config is another thing.&lt;/P&gt;&lt;P&gt;The huge Cisco API collection may give access to the full PID in the CCW order, but that's a completely different system, and you'd still need to find a way to relate data from CCW with Dashboard (I've a feeling that relation may not be possible.)&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2024 08:45:31 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/get-devices-productid-via-api/m-p/5404244#M1051</guid>
      <dc:creator>sungod</dc:creator>
      <dc:date>2024-02-02T08:45:31Z</dc:date>
    </item>
    <item>
      <title>Re: Get Devices ProductID via API</title>
      <link>https://community.cisco.com/t5/network-platform-api/get-devices-productid-via-api/m-p/5404245#M1052</link>
      <description>&lt;P&gt;Basically a model number and a product SKU (that you use in an order) are separate - albeit related - things.&lt;/P&gt;&lt;P&gt;Is there a particular reason why you need the SKU specifically?&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2024 12:19:34 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/get-devices-productid-via-api/m-p/5404245#M1052</guid>
      <dc:creator>GreenMan</dc:creator>
      <dc:date>2024-02-02T12:19:34Z</dc:date>
    </item>
  </channel>
</rss>

