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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

Update RDL report using API does nothing

Using May 2021 PBIRS API

 

The CatalogItems PATCH API all to update a .rdl report seems to do nothing when trying to update the report. POST works fine and creates the report. PATCH to replace the report with updated contents returns 204 code but the report is not changed. The API docs say that only properties in the body that are to be changed need to be passed, so I have been passing:

{
  "@odata.type": "#Model.Report",
  "Content": "<base64-encoded report, exactly the same as works fine in the POST>"
}

 

This just returns a 204 and the report changed time on the server is not updated and the contents of the report are not changed.

I can delete and re-create but this changes the ID of the report and its schedules, causing more complications later.

2 REPLIES 2
Anonymous
Not applicable

@Anonymous 
I am not sure about whether you can use patch method to update only part of the source, as far as I know, only Post method is often used in power bi. May I ask which API docs did you read about this.

 

 

Paul Zheng

Anonymous
Not applicable

API endpoint is here:

https://app.swaggerhub.com/apis/microsoft-rs/PBIRS/2.0#/CatalogItems/UpdateCatalogItem

 

It says it can update only whatever is supplied in the body and the report content is part of that. Otherwise, how could one update a report without changing the ID?

 

 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.