how to paginate through rest api json response from scheduled script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2022 08:24 AM
Hi,
We have a integration from servicenow to third party system through rest api and each time we receive 250 records in one payload and there are 20,000 records on the other end. How do i paginate to get all the 20,000 records.
In the payload, I receive these attributes - total (total number of records in third party system) and count (number of records sent in one payload).
- Labels:
-
Integrations
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2022 08:51 AM
Hi @ersureshbe We're using Outbound REST API's, and 3rd party response has pagination setup. How do I loop thru it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2022 09:17 AM
Hi, You can use below link to enable.
Suresh.