Forum Discussion
Anonymous
7 years agoNot applicable
API Json response
I'm using a service to kick off a Power BI refresh from an API call. I want the service to wait for a return status of completed before continuing. The issue im having is the saves response file alwa...
v-yuta-msft
7 years agoCommunity Support
Hi JWatson,
Based on your screenshot, it seems like you are using schedule refresh rest api and the refresh starttime and end time has been responsed to your client. What's the issue? Could you share more details?
Regards,
Jimmy Tao
Anonymous
7 years agoNot applicable
UPDATE: I realize that my refreshes have not been working. The list I keep getting are the only four succesful runs, even though the program finishes with success. So I need to get that corrected.
My other questions are, is it possible to get a status back during the process? Or is it only returned with either completed or failed? And whats the correct way to only check the lastest refresh? The ?top parameter hasnt been working for me. But maybe I am using it incorrectly.
https://api.powerbi.com/v1.0/myorg/groups/{groupid}/datasets/{datasetid}/refreshes/?top=1
Thanks