Forum Discussion
Passing the Parameter while calling the Data Pipeline using REST API
Hello Readers,
I am trying to trigger the REST API to trigger an on-demand job on my datapipeline:
POST https://api.fabric.microsoft.com/v1/workspaces/{workspaceId}/dataPipelines/{pipelineId}/jobs/execute/instances
Body/Payload:
Error:
Status Code: 403 Forbidden
Error Message:
My question : Why we can't pass the parameter while calling the datapipeline and is there another I can do this like using Power Automate or Logic apps?
Hi 12_shashank,
THe DataPipeline specific API doesn't mention anything about supporting parameters in the documentation, but the job scheduler API does.
Job Scheduler - Run On Demand Item Job - REST API (Core) | Microsoft Learn
Try using the job scheduler API to trigger the data pipeline instead.
3 Replies
- tayloramySuper User
Hi 12_shashank,
THe DataPipeline specific API doesn't mention anything about supporting parameters in the documentation, but the job scheduler API does.
Job Scheduler - Run On Demand Item Job - REST API (Core) | Microsoft Learn
Try using the job scheduler API to trigger the data pipeline instead.
- v-aatheequeCommunity Support
Hi 12_shashank
Following up to confirm if the earlier responses addressed your query. If not, please share your questions and we’ll assist further.
- v-aatheequeCommunity Support
Hi 12_shashank
We wanted to follow up to check if you’ve had an opportunity to review the previous responses. If you require further assistance, please don’t hesitate to let us know.