Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago

power bi rest api - export to file

I am new to api so please bear with me

 

Background: I am using a power bi report builder, and built an rdl, (source is a powre bi pbix file).

Then in power bi service, I use Get File, my saved .rdl file...

Goal: Have the output of this file to be emailed as an excel to user

What I tried: You know we can hit "try it" on power bi api reference , so I tried export to file api, entered the report id, and hit run, i got json as a response

 

Question: What to do next ? How to invoke / integrate this from power bi ? I believe i have to run a polling api call to get the power bi url ? I am confused about what to do next. The below link, is very vague

 

https://powerbi.microsoft.com/en-us/blog/export-report-to-pdf-pptx-and-png-files-using-power-bi-rest...

 

2 Replies