Get Imports

 

Updated: January 23, 2017



Request | Response

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

NameDescription
collectionNameThe workspace collection name
workspaceIdThe workspace id

Status code

CodeDescription
200OK. 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: