We need to fetch millions of record via service rest,can it be done?

we can use query param in Rest APIs for granular control of results.

In REST APIs, pagination is typically controlled using query parameters like

  • page
    
    pageSize
    
    offset
    
    limit