now i wanted to get all the companies we have, but the above API will return 100 records only. so i try to define a limit of 300 (just for testing) as follow:-
In addition to the list of companies, each request will also return two values, offset and has-more . If has-more is true, you'll need to make another request, using the offset to get the next page of company records.
So, your first request will return up to 250 company records and:
"has-more": true,
"offset": some_value
Your next request will include offset=some_value and so forth.
In addition to the list of companies, each request will also return two values, offset and has-more . If has-more is true, you'll need to make another request, using the offset to get the next page of company records.
So, your first request will return up to 250 company records and:
"has-more": true,
"offset": some_value
Your next request will include offset=some_value and so forth.
It's not possible to retrieve all 8,700+ company records in one API call. As the documentation notes, you'll have to make multiple requests and page through the results. If you use limit=250, this will take at least 35 calls.
I am getting this error if i specify limit=300 "The remote server returned an error: (400) Bad Request."
SOLVE
ok fine. but in my case how i can modify the url for the API calls to be able to retrieve all the 8700++ records by getting 250 on each request ? can i define a "skip" & "take" parameters inside the api url ?