jsh121988's avatar
jsh121988
Microsoft Employee
5 years ago
Status:
Needs Votes

Power BI API Refresh return Refresh Id

I'm using the API to kick off refreshes for all of my datasets. Every 30 seconds I query the current refresh to see if it's complete. The problem I'm having is that I have to go pull all refreshes to either find an active refresh, or one that completed recently, to get the Refresh Id. I'm asking that there be an option to have the Refresh Id returned when calling the API endpoint. It's been creating many conflicts when logging refresh data. Sample Idea: API: https://api.powerbi.com/v1.0/myorg/groups/$WorkspaceId/datasets/$DatasetId/refreshes Body: {"GetRefreshId": true} Response: {"id": 12345678}

Recent ideas