How to do pagination Outbound REST Api
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hi ,
I want to do pagination in outbound REST api given URL have no off set Limit , just get URL,
Outbound REST Message pass token , authentication, api,user id and end point.
in script inclued all the Rest message, How to do pagination where I 've to update?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
if 3rd party supports pagination, off set etc then check with them how you should consume
what should the sample request and endpoint be so that pagination works for you.
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago - last edited 2 hours ago
@Ankur Bawiskar In the end point API , how to pass the pagination.
as per the given endpoint there is no pagination in the outbound rest message and using script include calling the GET function.
Issue is only some record around 10 only showing without pagination. there more data are there from the REST api message ,Due to the pagination showing limited number of record.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
that's what I am saying.
You need to check with the 3rd party team if their endpoint supports pagination and offset, if yes then how it should be done
they will give you the sample endpoint including pagination, offset if they support.
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
check these links
Data Stream actions and pagination
Using Data Stream Action to ingest large datasets into ServiceNow -> hands-on details
ServiceNow Datastream Helps Conquer Data Challenges Like Never Before!
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
