POST /v1.0/myorg/imports
Post Import
Creates new content on "My Workspace" from .pbix, Excel, Rdl or file path in OneDrive for Business.
Required scope: Dataset.ReadWrite.All
To set the permissions scope, see Register an app.
Notes
- To import a file, request Headers should include Content-Type: multipart/form-data with the file encoded as form data in the request body.
- To import xlsx file from OneDrive for Business, request Headers should include Content-Type: application/json with ImportInfo in the request body.
- Import .pbix file from OneDrive is not supported.
- To import large .pbix files between 1 GB and 10 GB, see Create Temporary Upload Location, supported only for workspaces on premium capacity.
Servers
- https://api.powerbi.com
Query parameters
Name | Type | Required | Description |
---|---|---|---|
datasetDisplayName |
String | No |
string The display name of the dataset, should include file extension. Not supported when importing from OneDrive for Business. |
skipReport |
String | No |
boolean (Optional) Determines whether to skip report import, if specified value must be 'true'. Only supported for PBIX files. |
nameConflict |
String | No |
ImportConflictHandlerMode (Optional) Determines what to do if a dataset with the same name already exists. Default value is 'Ignore'.Only Abort and Overwrite are supported with Rdl files. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.