Skip to main content

Power BI

New

Expand Power BI REST API IMPORTS

Vote (1) Share
rg's profile image

rg on 09 Jun 2016 15:28:22

It would be great if the existing API returning information about IMPORTS would be expanded with dates describing user activity.

New fields are “createdDateTime” (the report create data) and “updatedDateTime” (the report edit date) for REPORTS section, and “refreshDateTime” (when data was refreshed) for DATASETS section.

Like this:
https://api.powerbi.com/beta/myorg/imports

{
"value": [
{
"id": "xxxxxxxx-xxxxx-xxxx-xxxx-xxxxxxxxxxxx",
"importState": "Succeeded",
"createdDateTime": "2016-05-31T10:31:36.05",
"updatedDateTime": "2016-06-02T09:05:57.863",
"reports": [
{
"id": "yxxxxxxx-xxxxx-xxxx-xxxx-xxxxxxxxxxxx",
"name": "ImportName",
"webUrl": "https://app.powerbi.com/reports/yxxxxxxx-xxxxx-xxxx-xxxx-xxxxxxxxxxxx",
"embedUrl": "https://app.powerbi.com/reportEmbed?reportId=yxxxxxxx-xxxxx-xxxx-xxxx-xxxxxxxxxxxx",
"createdDateTime": "2016-05-31T10:31:36.05",
"updatedDateTime": "2016-06-02T09:05:57.863"
}
],
"datasets": [
{
"id": "zxxxxxxx-xxxxx-xxxx-xxxx-xxxxxxxxxxxx",
"name": "ImportName",
"tables": [],
"webUrl": "https://app.powerbi.com/datasets/zxxxxxxx-xxxxx-xxxx-xxxx-xxxxxxxxxxxx",
"refreshDateTime": "2016-06-02T09:05:57.863"
}
],
"name": "ImportName"
}
]
}