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 }}}
lbendlin
1 year agoSuper User
Have you tried the API call in the sandbox? Make sure your payload has the right format.