Most efficient way to sort table rows by "sys_updated_on"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2019 11:22 PM
Hi,
I have 800,000 incident records that I am try to pull using a GET rest api call.
My requirement is to sort them by "sys_updated_on" in descending order while querying.
I using the http parameter "sysparm_query=ORBERBYDESCsys_updated_on" in my REST end point but the query times out after 60 sec.
I dont want to increase the REST-Table-API timeout of the system.
Is there an efficient way to achieve this?
Thank you,
cc
- Labels:
-
Workflow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2019 12:17 AM
Have you tried any of the solutions in the below 2 threads?
Get all data in single REST request - Solution by Harsh
How to get more than 10000 records in response of GET method in REST API
Regards
Air