In ADF I am currently working on a Copy Data function from a Rest API URL. In the POST Request Body are parameters like this:
"paginationStartIndex": 1, "numberOfRecords": 20
Determining the best way to increment the paginationStartIndex until it runs out of records in the loop.
Tried doing some adjustments to Pagination rules, and other options which want to increment the page in the URL which doesn't work here.
For Incrementing a Number in REST API Request Body, you can use ForEach activity
as below.
In For each activity settings pass value as range of numbers you want to pass as below:
Then in request body pass the @{item()}
for parameter you want to increment sequentially.
This will also act as pagination.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.