Forum Discussion

mananchaya's avatar
mananchaya
Frequent Visitor
4 years ago
Solved

Update Existing GatewayId/DatasourceId to Paginated Report using REST API

I'm working on updating the data source to the paginated report using REST API.

I know the way to manually set it on the https://app.powerbi.com/, but I need the way to set it by the REST API call.

 

Currently, I'm using the 'UpdateDatasourcesInGroup' to update the connection details to the paginated report.

But when I called 'GetDatasourcesInGroup' of my paginated report, it returns the null value on 'DatasourceId' and 'GatewayId' of my data source name (which I have created on the Power BI Report Builder).

 

 

Does the power BI REST API have the method to call to rebind/update/set the shared/existing data source to the specific report?

Note: need the way to rebind/update/set like an image down below in form of the calling REST API.

 

 

Thank you.

4 Replies