Iteration and pagination to call rest api in adf

Anjali Maithani 46 Reputation points
2021-03-31T11:39:00.27+00:00

Hello Team,

I have created a copy activity which has source for REST API and Sink as Azure SQL DB. It work for the 1000 records.

I need to apply pagination to have the full data from Rest API and also iterate the loop.

From which activity and properties i can achieve this.
Please help ASAP.

Regards,
Anjali Maithani

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
{count} votes

Answer accepted by question author
  1. MartinJaffer-MSFT 26,161 Reputation points
    2021-03-31T15:44:14.397+00:00

    Hello @Anjali Maithani and welcome to Microsoft Q&A.

    With REST as source, you can add pagination rules in the copy activity source tab. The way to paginate depends upon how the source behaves. Please see this doc for details:

    https://learn.microsoft.com/en-us/azure/data-factory/connector-rest#pagination-support

    If yours does not behave like that, you can try parameterizing the dataset and put the copy activity inside a loop.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.