We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

How to pull millions of data via REST API

Neeta1
Tera Contributor

Hi Experts ,

 

How to pull 0.2 millions of data via REST API?

Currently we are just able to pull 10k records and each time it is pulling the same record. 

Can some please suggest ?

 

Thank you.

2 REPLIES 2

Ankur Bawiskar
Tera Patron

@Neeta1 

you can pull records into chunks and during off-business hours to avoid performance impact in instance.

Now you need to debug why it's pulling same record

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

Hi Ankur,

 

Thanks for your response.

How to pull the data in chunks ?

Do I need to mention any function/method in coding ?