Forum Discussion

ResAPIToTheMoon's avatar
ResAPIToTheMoon
New Member
1 year ago
Solved

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...
  • ResAPIToTheMoon's avatar
    1 year ago

    The payload was not correct. This one works: 

        payload = {
            "format": "PDF",
            "powerBIReportConfiguration": {
                "defaultBookmark": { "name": bookmark_guid }
            }
        }