<?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: maxRecords query parameter over 500 in Software Development Kit (SDK) and API Discussions</title>
    <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/maxRecords-query-parameter-over-500/m-p/126802#M2216</link>
    <description>&lt;P&gt;Great!&amp;nbsp; nextTag worked well.&amp;nbsp; Thanks.&lt;/P&gt;</description>
    <pubDate>Mon, 09 Jan 2017 00:31:58 GMT</pubDate>
    <dc:creator>CSiegle</dc:creator>
    <dc:date>2017-01-09T00:31:58Z</dc:date>
    <item>
      <title>maxRecords query parameter over 500</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/maxRecords-query-parameter-over-500/m-p/126780#M2212</link>
      <description>&lt;P&gt;Group -&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;OCAPI 1.2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to retrieve greater than 500 records from the GET volumes REST call.&amp;nbsp; If I set the maxRecords query parameter to a number greater than 500, I always get 500 records.&amp;nbsp; However, the query will be adjusted downwards if I place a number less than 500.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;REST syntax:&lt;/P&gt;&lt;P&gt;&lt;A href="https://apiserver:8443/api/1.0/ontap/volumes?maxRecords=10000" target="_blank"&gt;https://apiserver:8443/api/1.0/ontap/volumes?maxRecords=10000&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this a bug or am I missing something?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 15:35:35 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/maxRecords-query-parameter-over-500/m-p/126780#M2212</guid>
      <dc:creator>CSiegle</dc:creator>
      <dc:date>2025-06-04T15:35:35Z</dc:date>
    </item>
    <item>
      <title>Re: maxRecords query parameter over 500</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/maxRecords-query-parameter-over-500/m-p/126786#M2213</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CSiegle -&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, you're missing something.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There was a race condition bug with the old 7-mode API calls to get various objects, including volumes.&lt;/P&gt;&lt;P&gt;Hence the max records for the new APIs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BCP is to get 20 records at a time (default) and populate the 'next' tag with the results from the previous call.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I hope this response has been helpful to you.&lt;BR /&gt;&lt;BR /&gt;At your service,&lt;BR /&gt;&lt;BR /&gt;Eugene E. Kashpureff, Sr.&lt;BR /&gt;Independent NetApp Consultant &lt;A href="http://www.linkedin.com/in/eugenekashpureff" target="_blank"&gt;http://www.linkedin.com/in/eugenekashpureff&lt;/A&gt;&lt;BR /&gt;Senior NetApp Instructor, Fast Lane US &lt;A href="http://www.fastlaneus.com/" target="_blank"&gt;http://www.fastlaneus.com/&lt;/A&gt;&lt;BR /&gt;(P.S. I appreciate 'kudos' on any helpful posts.)&lt;/P&gt;</description>
      <pubDate>Sat, 07 Jan 2017 07:22:52 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/maxRecords-query-parameter-over-500/m-p/126786#M2213</guid>
      <dc:creator>ekashpureff</dc:creator>
      <dc:date>2017-01-07T07:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: maxRecords query parameter over 500</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/maxRecords-query-parameter-over-500/m-p/126793#M2214</link>
      <description>&lt;P&gt;This is as per design. at the most, you can fetch 500 records.&amp;nbsp; this is done considaring many factors. one of them is performance. still, if you wanted to have maxrecords more than 500, please get touch with product management.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Jan 2017 19:08:58 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/maxRecords-query-parameter-over-500/m-p/126793#M2214</guid>
      <dc:creator>pukale</dc:creator>
      <dc:date>2017-01-07T19:08:58Z</dc:date>
    </item>
    <item>
      <title>Re: maxRecords query parameter over 500</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/maxRecords-query-parameter-over-500/m-p/126795#M2215</link>
      <description>&lt;P&gt;If your requirement is get records beyond 500, then please use nextTag. This, you will find end of each response body&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;A href="https://apiserver:8443/api/1.0/ontap/volumes?NextTag=%3cnextTagValue" target="_blank"&gt;https://apiserver:8443/api/1.0/ontap/volumes?NextTag=&amp;lt;nextTagValue&lt;/A&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 08 Jan 2017 06:23:25 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/maxRecords-query-parameter-over-500/m-p/126795#M2215</guid>
      <dc:creator>pukale</dc:creator>
      <dc:date>2017-01-08T06:23:25Z</dc:date>
    </item>
    <item>
      <title>Re: maxRecords query parameter over 500</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/maxRecords-query-parameter-over-500/m-p/126802#M2216</link>
      <description>&lt;P&gt;Great!&amp;nbsp; nextTag worked well.&amp;nbsp; Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jan 2017 00:31:58 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/maxRecords-query-parameter-over-500/m-p/126802#M2216</guid>
      <dc:creator>CSiegle</dc:creator>
      <dc:date>2017-01-09T00:31:58Z</dc:date>
    </item>
    <item>
      <title>Re: maxRecords query parameter over 500</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/maxRecords-query-parameter-over-500/m-p/141621#M2691</link>
      <description>&lt;P&gt;curl -v -k -u admin:$Pass -L -H "Content-Type: application/json" &lt;A href="https://10.64.56.251:8443/api/5.0/ontap/aggregates?maxRecords=3" target="_blank"&gt;https://10.64.56.251:8443/api/5.0/ontap/aggregates?maxRecords=3&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Got the nexttag value like this&amp;nbsp;"nextTag":"PiM+bG9jYWxob3N0OnR5cGU9b2N1bSx1dWlkPWxvY2FsaG9zdH4zLypAbWF4UmVjb3Jkcz0zPCM8"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;curl -k -u admin:$Pass -L -H "Content-Type: application/json" &lt;A href="https://10.64.56.251:8443/api/5.0/ontap/aggregates?nextTag=PiM+bG9jYWxob3N0OnR5cGU9b2N1bSx1dWlkPWxvY2FsaG9zdH4zLypAbWF4UmVjb3Jkcz0zPCM8" target="_blank"&gt;https://10.64.56.251:8443/api/5.0/ontap/aggregates?nextTag=PiM+bG9jYWxob3N0OnR5cGU9b2N1bSx1dWlkPWxvY2FsaG9zdH4zLypAbWF4UmVjb3Jkcz0zPCM8&lt;/A&gt;&lt;BR /&gt;{"status":{"code":"FAILED","error":{"errno":2004,"message":"The specified parameter values are invalid.","reason":" Invalid parameter value for nextTag "}}}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please help&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;we have more than 500 volumes; for the nexttag I am testing with aggregates.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks&lt;BR /&gt;Ramesh&lt;/P&gt;</description>
      <pubDate>Sat, 21 Jul 2018 15:38:44 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/maxRecords-query-parameter-over-500/m-p/141621#M2691</guid>
      <dc:creator>RameshN</dc:creator>
      <dc:date>2018-07-21T15:38:44Z</dc:date>
    </item>
  </channel>
</rss>

