Rest api question
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2024 01:06 PM
I have a scheduled job calling a rest get message. I need that loop though and get 1000 records at a time. How can I do that calling the rest message created? How can I pass the loop parameter to the rest message from the script?
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2024 05:01 PM
hi @samadam ,
If you are talking about /api/sn_hr_core/hr_rest_api/get_usa_employee_profile, you can find the parameter "sysparm_limit" and "sysparm_offset".
This API supports a paging response, and you can set a page number in "sysparm_offset".
What do you think?