microsoft / powerbi-powershell

PowerShell community for Microsoft PowerBI. Here you will find resources and source for PowerShell modules targeting PowerBI.
MIT License
348 stars 121 forks source link

Get Dataset Refresh History response contains filed "Id" which does not exist in the documentation #380

Open shengdoescoding opened 1 year ago

shengdoescoding commented 1 year ago

I should, according to the documentation, expect these keys in the refresh history response: (https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/get-refresh-history-in-group, https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/get-refresh-history)

'endTime', 'refreshType', 'requestId', 'serviceExceptionJson', 'startTime', 'status'

However, currently, I am also getting an 'id' field where the value is of type int, there is no information on what this field is.

Even if it is intentional, why doesn't it use datatype str instead of int to stay consistent with the rest of the api.