You need to sign in to do that
Don't have an account?
Raghu007
Fetching more than 2000 records via REST API
Hi All,
I am trying to fetch records from another salesforce ORG using REST API. I found that we can fetch upto 2000 records only. Now digging more into this, I found that we need to use NEWRecordURL for fetching remaining records.
With that I am facing some challenges fetching more than 2000 records via REST API. Does anyone have some sample code/snippet with which I can achieve that using NewRecordURL?
Thanks in advance.
https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/dome_query.htm
https://developer.salesforce.com/forums/?id=906F000000093JVIAY
Please refer this links it may help you finding the solution.
- http://stackoverflow.com/questions/24321382/salesforce-query-returns-only-2000-data
- https://salesforce.stackexchange.com/questions/169188/fetch-more-than-2000-records/169214
Please make sure that you mark it as solved if it helps you.Best Regards,
Rakesh Thota.