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.
Azure Data Factory pagination using QueryParameters and body field
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:
- 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 namednextPage
. - Required Concatenation: I need to append the string
&fields=title,start_date,last_modified
to the URL mentioned above. - System Setup: I am using a pagination rules configuration where
nextPage
holds the base URL (from thebody
of the response), and I am attempting to append thefields
parameter which includes the additional string. - 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 valuenextPage + &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:
NextPage field: