I'm trying to pull in data into an Azure SQL DB from an external API. I will be making about different 50 API each day, each dynamically driven with parameter from the Azure SQL DB.
I started by using Azure Data Factory. But I can't get beyond setting up a dynamic http source for the API call.
First I created a lookup activity to get a list of keys/param that I will be passing to the API calls.
Then mapped the lookup output to a ForEach
items. Inside the ForEach
, created a Copy DataFlow activity with the http source and Azure SQL DB as a sink.
How can I inject the ForEach
item value into the API call?
domain.com/api/[ForEach Item]/GetData
domain.com/api?item=[ForEach Item]
Thank you.