Azure Data Factory pagination using QueryParameters and body field

Max Teitelbaum 0 Reputation points
2024-05-09T22:23:30.69+00:00

Hello everyone,

I am currently working with a pagination system and facing a challenge with the URL and parameter concatenation. I am trying to append a specific string to the URL retrieved from the first page of an API response.

Here's the setup:

  1. API Response Field: The initial URL https://api-prod.livegroup.co.uk/event/list?page_number=1&page_size=10 is returned in a field named nextPage.
  2. Required Concatenation: I need to append the string &fields=title,start_date,last_modified to the URL mentioned above.
  3. System Setup: I am using a pagination rules configuration where nextPage holds the base URL (from the body of the response), and I am attempting to append the fields parameter which includes the additional string.
  4. Problem: I need to ensure that the nextPage URL is correctly concatenated with the &fields=... string for subsequent API requests in a way that the system correctly recognizes and processes it.

Here is how my current pagination rules configuration looks like:

  • Query Parameter: Set to modify fields with the value nextPage + &fields=title,start_date,last_modified

Despite these settings, I am not achieving the correct URL format needed for the API requests. I suspect the issue might be with how the concatenation is set up or perhaps there's a better way to configure these rules.

Could anyone suggest how to correctly configure these settings or point out what I might be doing wrong? Any help or pointers would be greatly appreciated!

ADF:
User's image NextPage field:
User's image

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

1 answer

Sort by: Most helpful
  1. Max Teitelbaum 0 Reputation points
    2024-06-04T19:31:36.61+00:00

    thanks for your response, can you provide me with an actual example of a pipeline with screenshots of your implementation? I'm not able to understand your approach.

    0 comments No comments

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.