Get Imports
Updated: January 23, 2017
The Get Imports operation returns a JSON object which represents list of Import objects.
Note To call this operation, an app token or key is required. To learn more, see Authenticating and authorizing with Power BI Embedded.
GET https://api.powerbi.com/v1.0/collections/{collectionName}/workspaces/{workspaceId}/imports
Uri parameter
| Name | Description |
|---|---|
| collectionName | The workspace collection name |
| workspaceId | The workspace id |
Status code
| Code | Description |
|---|---|
| 200 | OK. Indicates success. An JSON object which represents list of Import objects. |
Content-Type
application/json
Body schema
{
"@odata.context": "https://api.powerbi.com/v1.0/collections/{collectionName}/workspaces/{workspaceId}/imports",
"value":[{
"id":"{import_guid}",
"importState":"Succeeded",
"createdDateTime":"2016-04-25T14:09:53.803",
"updatedDateTime":"2016-04-29T16:49:00.617",
"reports":[
{
"id":"{report_guid}",
"name":"Import report sample",
"webUrl":"https://embedded.powerbi.com/reports/{report_guid}",
"embedUrl":"https://embedded.powerbi.com/appTokenReportEmbed?reportId={report_guid}"}],
"datasets":[
{
"id":"{dataset_guid}",
"name":"Import report sample","
tables":[],
"webUrl":"https://embedded.powerbi.com/datasets/{dataset_guid}"}
],
"name":"Import report sample"}
}
}
Show: