<?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: API call to count networks under an Org in Network Platform API</title>
    <link>https://community.cisco.com/t5/network-platform-api/api-call-to-count-networks-under-an-org/m-p/5439623#M6225</link>
    <description>&lt;P&gt;Woops, we just realised the getOrganizationNetworks call allow a page of up to 100,000, default of 1000. That'll do!&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MartinS_0-1721828559233.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/263948iB8082B3686848515/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 24 Jul 2024 13:42:54 GMT</pubDate>
    <dc:creator>MartinSHighlight</dc:creator>
    <dc:date>2024-07-24T13:42:54Z</dc:date>
    <item>
      <title>API call to count networks under an Org</title>
      <link>https://community.cisco.com/t5/network-platform-api/api-call-to-count-networks-under-an-org/m-p/5439620#M6222</link>
      <description>&lt;P&gt;Hi, hopefully a fairly simple one this, but is anyone aware of a API call that will produce a simple count of networks under an Org please? We have some MSPs and customers with a very large number of networks, and for one particular function where we just want a quick count, we want to avoid paging through a very long list from getOrganizationNetworks.&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2024 08:20:09 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/api-call-to-count-networks-under-an-org/m-p/5439620#M6222</guid>
      <dc:creator>MartinSHighlight</dc:creator>
      <dc:date>2024-07-24T08:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: API call to count networks under an Org</title>
      <link>https://community.cisco.com/t5/network-platform-api/api-call-to-count-networks-under-an-org/m-p/5439621#M6223</link>
      <description>&lt;P&gt;Assuming Python, can't you just do len() on the return object from &lt;SPAN&gt;getOrganizationNetworks to get a count?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2024 08:50:55 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/api-call-to-count-networks-under-an-org/m-p/5439621#M6223</guid>
      <dc:creator>sungod</dc:creator>
      <dc:date>2024-07-24T08:50:55Z</dc:date>
    </item>
    <item>
      <title>Re: API call to count networks under an Org</title>
      <link>https://community.cisco.com/t5/network-platform-api/api-call-to-count-networks-under-an-org/m-p/5439622#M6224</link>
      <description>&lt;P&gt;Yes and that's the method we use today, but it's on an interactive element of our UI and on big orgs it takes over 30 seconds to get through all the pages of results. I was hoping there is a simple count somewhere as there is on the Global Overview table:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MartinS_0-1721812819532.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/263946iBF472C21C5E0C45B/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2024 09:20:30 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/api-call-to-count-networks-under-an-org/m-p/5439622#M6224</guid>
      <dc:creator>MartinSHighlight</dc:creator>
      <dc:date>2024-07-24T09:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: API call to count networks under an Org</title>
      <link>https://community.cisco.com/t5/network-platform-api/api-call-to-count-networks-under-an-org/m-p/5439623#M6225</link>
      <description>&lt;P&gt;Woops, we just realised the getOrganizationNetworks call allow a page of up to 100,000, default of 1000. That'll do!&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MartinS_0-1721828559233.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/263948iB8082B3686848515/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2024 13:42:54 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/api-call-to-count-networks-under-an-org/m-p/5439623#M6225</guid>
      <dc:creator>MartinSHighlight</dc:creator>
      <dc:date>2024-07-24T13:42:54Z</dc:date>
    </item>
  </channel>
</rss>

