Forum Discussion

Ravi_Shanker_Shukla's avatar
Oct 11, 2022

SQL Server Reporting Services REST API failing when adding a report

My customer is having below question:

When I create a report using POST /Reports

{ "Name": "My Report", "Description": "My Description", "Path": "/MyReports/MyReport", "Type": "Report", "Hidden": true, "Content": Convert.ToBase64String(content) }

The hidden property is not respected and the response coming back has Hidden=false.

If I call patch after I have created the report it works:

PATCH /Reports({Id}) { "Hidden": true, }

Any idea why this is not working on POST?

No RepliesBe the first to reply