Trigger ADF from REST API with parameters

drhorg 61 Reputation points
2023-06-14T04:34:37.54+00:00

I need to call from website (or Azure function) a data factory pipeline using a POST REST API ( likely Pipelines - Create Run - REST API (Azure Data Factory) | Microsoft Learn) . The post simply sends a list of parameters to ADF and ADF simply reads this list and writes them to a storage account file.

Ex : the REST API POST/sends parameters 1, 2, 3 to ADF and this appends new row to the file like so:

Parameter 1, parameter 2, parameter 3

I was not able so far to find if I should use copy data or mapping data flow? . My issue is how to create the source dataset which contains as column1= parameter1, column2=parameter2, etc. then sync is the file.

Very much appreciate your input

Thank you,

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

1 answer

Sort by: Most helpful
  1. QuantumCache 20,366 Reputation points Moderator
    2023-06-15T03:09:43.83+00:00

    Hello drhorg,

    Do you want to run the ADF pipeline for each of the row in the File? Do you have any sample source data to understand the requirement better?

    User's image


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.