Proper Pagination Format for Rest API with Azure Data Factory

Ryan James 36 Reputation points
2021-01-07T15:00:07.16+00:00

I'm trying to use the Azure Data Factory to copy data from a REST API into an Azure SQL Database.

The next page is returned as a Link Header formatted as below:

; rel="next"

How do I format this into the Pagination Rules in the copy data activity?

Thanks,

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

2 answers

Sort by: Most helpful
  1. MartinJaffer-MSFT 26,236 Reputation points
    2021-01-22T00:52:54.577+00:00

    @Ryan James , @vince
    I heard back from the product group. Unfortunately this specific scenario is not supported at this time.

    To help this scenario be supported in the future, please request / upvote it in the feedback forum.

    You can use a Custom Activity to run your own custom code and save the results. Then you can use a Copy Activity to load the results to the destination of your choice.

    Other alternatives include Function App or possibly Logic App.

    1 person found this answer helpful.

  2. MartinJaffer-MSFT 26,236 Reputation points
    2022-07-25T19:29:13.94+00:00

    @Preeti

    RFC 5988 is supported now. In Pagination rules, there is an option for it. When creating a new Copy activity, this option is added. (see picture below). However if you remove the option, then it will not be used.

    224556-image.png


Your answer

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