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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.