Forum Discussion

Rohitpowerbinew's avatar
Rohitpowerbinew
New Member
1 year ago
Solved

Power Bi On Perm

Hi Team,

I have a question : 

 

I am trying to understand  the output for the endpoint .

 

Reference Api Doc : https://app.swaggerhub.com/apis/microsoft-rs/PBIRS/2.0#/PowerBIReports/GetPowerBIReportContent

Endpoint : https://hostname/reports/api/v2.0/PowerBIReports(reportid)/Content/$value 

Q1 : What will be the output type for this , will it be json ,xml or file output.

Q2 : Any alternative of this Api , I want to get the metadata from the Powerbi On Prem Reports.
Metadata like : Power bi Report Page, Visual container , Power Bi Report Attribute.

 

Any lead here will be much appreciated .

 

 

 

Regards,

Rohit 

  • v-hjannapu's avatar
    v-hjannapu
    1 year ago

    Hi Rohitpowerbinew,

    As we haven’t heard back from you, so just following up to our previous message. I'd like to confirm if you've successfully resolved this issue or if you need further help.

    If yes, you are welcome to share your workaround and mark it as a solution so that other users can benefit as well. If you find a reply particularly helpful to you, you can also mark it as a solution.
    If you still have any questions or need more support, please feel free to let us know. We are more than happy to continue to help you.

    Thank you for your patience and look forward to hearing from you.

    Harshitha.

    Community Support Team.

2 Replies

  • v-hjannapu's avatar
    v-hjannapu
    Community Support

    Hi Rohitpowerbinew ,

    Thank you  for reaching out to the Microsoft fabric community forum.


    This endpoint returns the actual binary content of the Power BI (.PBIX) report file stored on the Power BI Report Server.

     

    Output Type: The response is not JSON or XML, but a binary stream (application/octet-stream), which represents the .PBIX file.
    Use Case: This is meant for downloading the full report file. It doesn’t expose any metadata in structured (e.g., JSON) format.


    Hope my suggestion gives you good idea, if you have any more questions, please feel free to ask we are here to help you.

    If this post Helps, then please consider Accept it as solution to help the other members find it more quickly.

    Thank You.

    Harshitha.

    Community Support Team.

    • v-hjannapu's avatar
      v-hjannapu
      Community Support

      Hi Rohitpowerbinew,

      As we haven’t heard back from you, so just following up to our previous message. I'd like to confirm if you've successfully resolved this issue or if you need further help.

      If yes, you are welcome to share your workaround and mark it as a solution so that other users can benefit as well. If you find a reply particularly helpful to you, you can also mark it as a solution.
      If you still have any questions or need more support, please feel free to let us know. We are more than happy to continue to help you.

      Thank you for your patience and look forward to hearing from you.

      Harshitha.

      Community Support Team.