Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
pooneh_ce
Frequent Visitor

entegration power bi rest api in php

Is it possible to integrate powerbi rest api into php?especifically for show reports and charts? does it need to use powerbi js file?

what about odata?

 

how is it possible to use jwt for it?

2 REPLIES 2
Jon-Heide
Employee
Employee

Unclear if you are referring to PowerBI.com REST API or PowerBI Report Server REST API.

 

If you are referring to PBI Report Server, it is a OneAPI compliant API and you can generate php or other clients through swagger tools - https://app.swaggerhub.com/apis/microsoft-rs/PBIRS/2.0

 

As for a JWT, the server supports basic auth, windows auth or custom auth. There's no general purpose JWT or other token based auth for it at the moment.

 

I mean power bi report server and I want to know how I can show charts from rest apis in a php page? for example I am using the PowerBIReports service. Is the output  a powerbireport type? how should  I show the output in a php page?do I need to use powerbi javascript or any other dll? are there any samples or tutorials about it?

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.