<?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 Meraki Dashboard API Confusion in Network Platform API</title>
    <link>https://community.cisco.com/t5/network-platform-api/meraki-dashboard-api-confusion/m-p/3458242#M9434</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Trying to get a list of devices through the Meraki dashboard API, however the list returns a 200 return code but no items.&amp;nbsp; If I go into the dashboard website I see devices.&amp;nbsp; What am I doing wrong?&amp;nbsp; I'm doing:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To get Organization code:&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN&gt;curl -L -H 'X-Cisco-Meraki-API-Key: &amp;lt;myKey&amp;gt;' -X GET -H 'Content-Type: application/json' '&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://dashboard.meraki.com/api/v0/organizations'[/code]" rel="nofollow" target="_blank"&gt;https://dashboard.meraki.com/api/v0/organizations'&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;To get list of Networks ID's:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN&gt;curl -L -H 'X-Cisco-Meraki-API-Key: &amp;lt;myKey&amp;gt;' -X GET -H 'Content-Type: application/json' '&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://dashboard.meraki.com/api/v0/organizations/" rel="nofollow" target="_blank"&gt;https://dashboard.meraki.com/api/v0/organizations/&lt;/A&gt;&lt;SPAN&gt;&amp;lt;myOrgID&amp;gt;/networks'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;/P&gt;&lt;P class="p1"&gt;To prove the correct Network ID:&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN&gt;curl -L -H 'X-Cisco-Meraki-API-Key: &amp;lt;key&amp;gt;' -X GET -H 'Content-Type: application/json' '&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://dashboard.meraki.com/api/v0/organizations/" rel="nofollow" target="_blank"&gt;https://dashboard.meraki.com/api/v0/organizations/&lt;/A&gt;&lt;SPAN&gt;&amp;lt;myOrgID&amp;gt;/networks/&amp;lt;myNetworkID&amp;gt;'&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;and this correctly displays the network details&lt;/P&gt;&lt;P class="p1"&gt;&lt;/P&gt;&lt;P class="p1"&gt;To get device list from this network:&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN&gt;curl -L -H 'X-Cisco-Meraki-API-Key: &amp;lt;myKey&amp;gt;' -X GET -H 'Content-Type: application/json' '&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://dashboard.meraki.com/api/v0/networks/" rel="nofollow" target="_blank"&gt;https://dashboard.meraki.com/api/v0/networks/&lt;/A&gt;&lt;SPAN&gt;&amp;lt;myNetworkID&amp;gt;/devices'&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;/P&gt;&lt;P class="p1"&gt;However this comes back with no entries and a 200 return code.&lt;/P&gt;&lt;P class="p1"&gt;&lt;/P&gt;&lt;P class="p1"&gt;Thanks for any help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Mar 2019 11:42:35 GMT</pubDate>
    <dc:creator>tony.andreoli</dc:creator>
    <dc:date>2019-03-01T11:42:35Z</dc:date>
    <item>
      <title>Meraki Dashboard API Confusion</title>
      <link>https://community.cisco.com/t5/network-platform-api/meraki-dashboard-api-confusion/m-p/3458242#M9434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Trying to get a list of devices through the Meraki dashboard API, however the list returns a 200 return code but no items.&amp;nbsp; If I go into the dashboard website I see devices.&amp;nbsp; What am I doing wrong?&amp;nbsp; I'm doing:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To get Organization code:&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN&gt;curl -L -H 'X-Cisco-Meraki-API-Key: &amp;lt;myKey&amp;gt;' -X GET -H 'Content-Type: application/json' '&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://dashboard.meraki.com/api/v0/organizations'[/code]" rel="nofollow" target="_blank"&gt;https://dashboard.meraki.com/api/v0/organizations'&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;To get list of Networks ID's:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN&gt;curl -L -H 'X-Cisco-Meraki-API-Key: &amp;lt;myKey&amp;gt;' -X GET -H 'Content-Type: application/json' '&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://dashboard.meraki.com/api/v0/organizations/" rel="nofollow" target="_blank"&gt;https://dashboard.meraki.com/api/v0/organizations/&lt;/A&gt;&lt;SPAN&gt;&amp;lt;myOrgID&amp;gt;/networks'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;/P&gt;&lt;P class="p1"&gt;To prove the correct Network ID:&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN&gt;curl -L -H 'X-Cisco-Meraki-API-Key: &amp;lt;key&amp;gt;' -X GET -H 'Content-Type: application/json' '&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://dashboard.meraki.com/api/v0/organizations/" rel="nofollow" target="_blank"&gt;https://dashboard.meraki.com/api/v0/organizations/&lt;/A&gt;&lt;SPAN&gt;&amp;lt;myOrgID&amp;gt;/networks/&amp;lt;myNetworkID&amp;gt;'&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;and this correctly displays the network details&lt;/P&gt;&lt;P class="p1"&gt;&lt;/P&gt;&lt;P class="p1"&gt;To get device list from this network:&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN&gt;curl -L -H 'X-Cisco-Meraki-API-Key: &amp;lt;myKey&amp;gt;' -X GET -H 'Content-Type: application/json' '&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://dashboard.meraki.com/api/v0/networks/" rel="nofollow" target="_blank"&gt;https://dashboard.meraki.com/api/v0/networks/&lt;/A&gt;&lt;SPAN&gt;&amp;lt;myNetworkID&amp;gt;/devices'&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;/P&gt;&lt;P class="p1"&gt;However this comes back with no entries and a 200 return code.&lt;/P&gt;&lt;P class="p1"&gt;&lt;/P&gt;&lt;P class="p1"&gt;Thanks for any help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Mar 2019 11:42:35 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/meraki-dashboard-api-confusion/m-p/3458242#M9434</guid>
      <dc:creator>tony.andreoli</dc:creator>
      <dc:date>2019-03-01T11:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: Meraki Dashboard API Confusion</title>
      <link>https://community.cisco.com/t5/network-platform-api/meraki-dashboard-api-confusion/m-p/3458243#M9435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tony,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I copied and pasted your curl statements and added my API key, but I saw no issues. I suggest trying with Postman (getpostman.com) just to check. If you still have a problem, please report it to the Meraki support team.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://meraki.cisco.com/support/" title="https://meraki.cisco.com/support/"&gt;https://meraki.cisco.com/support/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Colin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Apr 2017 21:32:50 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/meraki-dashboard-api-confusion/m-p/3458243#M9435</guid>
      <dc:creator>colo</dc:creator>
      <dc:date>2017-04-17T21:32:50Z</dc:date>
    </item>
    <item>
      <title>Re: Meraki Dashboard API Confusion</title>
      <link>https://community.cisco.com/t5/network-platform-api/meraki-dashboard-api-confusion/m-p/3458244#M9436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the same issue. When i try to load the list of devices, i get a 200 but an empty list. Response: []&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im able to read organizations and groups, but not the devices for a group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i can not see what wrong, because if a change the group id to an invalid value, i get a 404 as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reading the network is no problem:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Bildschirmfoto 2017-06-13 um 13.21.22.png" class="image-1 jive-image" src="/legacyfs/online/fusion/108254_Bildschirmfoto 2017-06-13 um 13.21.22.png" style="height: 473px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reading devices fails:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Bildschirmfoto 2017-06-13 um 13.21.44.png" class="jive-image image-2" src="/legacyfs/online/fusion/108256_Bildschirmfoto 2017-06-13 um 13.21.44.png" style="height: 381px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the console, i can see an active device:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Bildschirmfoto 2017-06-13 um 13.25.39.png" class="jive-image image-3" src="/legacyfs/online/fusion/108257_Bildschirmfoto 2017-06-13 um 13.25.39.png" style="height: 240px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2017 11:08:38 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/meraki-dashboard-api-confusion/m-p/3458244#M9436</guid>
      <dc:creator>michael.fritzsche</dc:creator>
      <dc:date>2017-06-13T11:08:38Z</dc:date>
    </item>
    <item>
      <title>Re: Meraki Dashboard API Confusion</title>
      <link>https://community.cisco.com/t5/network-platform-api/meraki-dashboard-api-confusion/m-p/3458245#M9437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe that API endpoint only returns a list of *Meraki* devices within a network (switches, firewalls, APs, etc). If the network is *only* used for Systems Manager, then there are no Meraki devices and thus an empty list is returned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Per the API, it looks like the endpoint you probably want is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /networks/[network_id]/sm/devices&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the API docs, look under the "SM" heading&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jun 2017 23:33:46 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/meraki-dashboard-api-confusion/m-p/3458245#M9437</guid>
      <dc:creator>jrush</dc:creator>
      <dc:date>2017-06-29T23:33:46Z</dc:date>
    </item>
  </channel>
</rss>

