test00x

limiting records

Feb 5th, 2025
11
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. For example I've tried to put the pageSize 100 and current page to anything larger than 20 . This was the first snippet of response -->
  2. {"actions":[{"id":"1;a","state":"SUCCESS","returnValue":{"result":[],"totalCount":2000},"error":[]}]
  3.  
  4. Any idea about the reason of this ?!
  5. However If did the same thing lets say pageSize":100,"currentPage":25 With an object that I'm sure it has way less than 20 pages of records , This would be the response
  6. {"actions":[{"id":"1;a","state":"SUCCESS","returnValue":{"result":[],"totalCount":1},"error":[]}]
Advertisement
Add Comment
Please, Sign In to add comment