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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Anonymous
Not applicable

REST API for tile

Hello,

 

I am using Gerhard Brueckl C# wrapper to use the REST API https://blog.gbrueckl.at/2017/05/c-wrapper-power-bi-rest-api-version-2/

 

I Use it to be able to list reports,, workspace, .... I am currently trying to get access to the tiles of a dashboard and I was wondering it there is a problem witht the API.

If I look at the URL Gerhard use to access to the tiles of a dashboard in my workspace, the syntax is different from the documentation. The right synthax is https://api.powerbi.com/v1.0/myorg/dashboards/{dashboardKey}/tiles/{tileKey} but he wrote https://api.powerbi.com/v1.0/myorg/dashboards{dashboardKey}/tiles/{tileKey}. The difference is a "/"

If I correct his synthax according to the documentation, it does not work anymore. So I guess there is a problem here.

 

If I try to access the tiles of a dashboard which is not in my workspace with the same synthax from the documentation. It does not work.  I tried the same "mistake/correction" as Gerhard and It does not work either.

Does anyone have an idea about this ?

 

 

Thanks,

1 REPLY 1
v-jiascu-msft
Employee
Employee

Hi @Anonymous,

 

If the dashboard is in a group, you should follow this API. You may also try this https://github.com/Microsoft/PowerBI-CSharp.

 

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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