Jon Homiak on 01 Feb 2021 18:43:05
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}