Get BoundGatewayDatasources
Updated: July 21, 2017
The Get Bound Gateway Datasources operation returns a JSON list of all gateway data sources for a dataset.
Required scope: Dataset.ReadWrite.All or Dataset.Read.All
To set the permissions scope, see Register a client app or Register a web app.
GET https://api.powerbi.com/v1.0/myorg/datasets/{dataset_id}/Default.GetBoundGatewayDataSources
Groups
Groups are a collection of unified Azure Active Directory groups that the user is a member of and is available in the Power BI service. These are referred to as app workspaces within the Power BI service. To learn how to create a group, see Create an app workspace.
GET https://api.powerbi.com/v1.0/myorg/groups/{group_id}/datasets/{dataset_id}/Default.GetBoundGatewayDataSources
Uri parameter
| Name | Description | Data Type |
|---|---|---|
| group_id | Guid of the Group to use. You can get the group id from the Get Groups operation. Groups are referred to as app workspaces within the Power BI service. | String |
| dataset_id | Guid of the Dataset to use. You can get the dataset id from the Get Datasets operation. | String |
Header
Authorization: Bearer eyJ0eX ... FWSXfwtQ
Status code
| Code | Description |
|---|---|
| 200 | OK. Indicates success. The dataset is returned in the response body. |
Content-Type
application/json
Body schema
{
"odata.context": "string",
"value": [
{
"id": "string",
"gatewayId": "string",
"datasourceName": "string",
"datasourceType": "string",
"connectionDetails": "string",
"credentialType": "string",
"basicCredentials": {
"username": "string",
"password": "string"
}
}
]
}