2017-01-06 12:20 PM
I'm trying to retrieve greater than 500 records from the GET volumes REST call. If I set the maxRecords query parameter to a number greater than 500, I always get 500 records. However, the query will be adjusted downwards if I place a number less than 500.
Is this a bug or am I missing something?
Solved! SEE THE SOLUTION
2017-01-06 11:22 PM
Yes, you're missing something.
There was a race condition bug with the old 7-mode API calls to get various objects, including volumes.
Hence the max records for the new APIs.
BCP is to get 20 records at a time (default) and populate the 'next' tag with the results from the previous call.
I hope this response has been helpful to you.
At your service,
Eugene E. Kashpureff, Sr.
Independent NetApp Consultant http://www.linkedin.com/in/eugenekashpureff
Senior NetApp Instructor, Fast Lane US http://www.fastlaneus.com/
(P.S. I appreciate 'kudos' on any helpful posts.)
2017-01-07 11:05 AM - edited 2017-01-07 11:08 AM
This is as per design. at the most, you can fetch 500 records. 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.
2017-01-07 10:23 PM
If your requirement is get records beyond 500, then please use nextTag. This, you will find end of each response body