Here are some tips and trix that you can try.
If your result is of type PageList then you have to check the IsComplete property. If it is false then you have to query the Api again for the next page. Default rows in the PageList is 5000.
... View more