I want to call a ZenDesk REST API in Data Factory, here's how the output looks like
next_page determines the next URL page of the REST API
end_of_stream returns false if I've reached the end of the page
In Data Factory, I've set up a Copy Activity in a pipeline which copies the data from REST JSON into my Azure DB, something like this
The problem is the pagination in ADF doesn't support the type of pagination that Zendesk API provides, from my research it looks like I'll need to create an Until loop in order to make this work, so something like this
I need to know how I can
- Set a variable to true/false based on the Copy Activity output from the REST API call
- Dynamically set the URL of my Copy Activity, so it can loop through all the pages in the REST API
Thanks!