Datasets - Get Refresh Schedule In Group
Returns the refresh schedule for the specified dataset from the specified workspace.
Permissions
This API call can be called by a service principal profile. For more information see: Service principal profiles in Power BI Embedded.
Required Scope
Dataset.ReadWrite.All or Dataset.Read.All
GET https://api.powerbi.com/v1.0/myorg/groups/{groupId}/datasets/{datasetId}/refreshSchedule
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
dataset
|
path | True |
string |
The dataset ID |
group
|
path | True |
string uuid |
The workspace ID |
Responses
Name | Type | Description |
---|---|---|
200 OK |
OK |
Examples
Refresh schedule example
Sample request
GET https://api.powerbi.com/v1.0/myorg/groups/f089354e-8366-4e18-aea3-4cb4a3a50b48/datasets/cfafbeb1-8037-4d0c-896e-a46fb27ff229/refreshSchedule
Sample response
{
"days": [
"Sunday",
"Friday",
"Saturday"
],
"times": [
"05:00",
"11:30",
"17:30",
"23:00"
],
"enabled": true,
"localTimeZoneId": "UTC",
"notifyOption": "MailOnFailure"
}
Definitions
Name | Description |
---|---|
days |
The days on which to execute the refresh |
Refresh |
A Power BI refresh schedule for imported model |
Schedule |
The notification option on termination of a scheduled refresh. Service principals only support the |
days
The days on which to execute the refresh
Name | Type | Description |
---|---|---|
Friday |
string |
|
Monday |
string |
|
Saturday |
string |
|
Sunday |
string |
|
Thursday |
string |
|
Tuesday |
string |
|
Wednesday |
string |
RefreshSchedule
A Power BI refresh schedule for imported model
Name | Type | Description |
---|---|---|
NotifyOption |
The notification option on termination of a scheduled refresh. Service principals only support the |
|
days |
days[] |
The days on which to execute the refresh |
enabled |
boolean |
Whether the refresh is enabled |
localTimeZoneId |
string |
The ID of the time zone to use. For more information, see Time zone info. |
times |
string[] |
The times of day to execute the refresh |
ScheduleNotifyOption
The notification option on termination of a scheduled refresh. Service principals only support the NoNotification
value.
Name | Type | Description |
---|---|---|
MailOnFailure |
string |
A mail notification will be sent on refresh failure |
NoNotification |
string |
No notification will be sent |