Get Import

 

Updated: January 23, 2017



Request | Response

The Get Import operation returns a JSON object which represents an Import object.

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/{importId}

Uri parameter

NameDescription
collectionName (required)The workspace collection name
workspaceId (required)The workspace id
importId (required)The import id

Status code

CodeDescription
200OK. Indicates success. An JSON object which represents Import object.

Content-Type

application/json

Body schema

{  
"@odata.context": "http://api.powerbi.com/v1.0/collections/{collectionName}/workspaces/{workspaceId}/imports/{importId}",  
   Import{  
    "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: