Forum Discussion
ResAPIToTheMoon
1 year agoNew Member
PowerBi - Rest API - Reports - Export To File using bookmarks
Dear community, I am desperately trying to export a Power BI file, which is located in a Fabric environment, to a PDF using the REST API. The PBIX file contains a single page. This page has five...
- 1 year ago
The payload was not correct. This one works:
payload = {"format": "PDF","powerBIReportConfiguration": {"defaultBookmark": { "name": bookmark_guid }}}
ResAPIToTheMoon
1 year agoNew Member
The payload was not correct. This one works:
payload = {
"format": "PDF",
"powerBIReportConfiguration": {
"defaultBookmark": { "name": bookmark_guid }
}
}
Anonymous
1 year agoNot applicable
HI, ResAPIToTheMoon
We are very pleased to hear that the issue has been resolved. Thank you for sharing the solution with us. If you are willing, you might consider accepting this solution, as it can also help other community members facing the same issue find a solution more quickly.
Of course, if there is anything else we can do for you, please do not hesitate to contact us. Once again, thank you for your contribution, and we look forward to your response.
Best Regards,
Leroy Lu