Job Scheduler - List Item Schedules
Get scheduling settings for one specific item.
This API supports pagination.
Required Delegated Scopes
For item APIs use these scope types:
- Generic scope: Item.ReadWrite.All or Item.Read.All
- Specific scope: itemType.ReadWrite.All or itemType.Read.All (for example: Notebook.ReadWrite.All)
for more information about scopes, see scopes article.
Microsoft Entra supported identities
This API supports the Microsoft identities listed in this section.
Identity | Support |
---|---|
User | Yes |
Service principal | No |
Managed identities | No |
Interface
GET https://api.fabric.microsoft.com/v1/workspaces/{workspaceId}/items/{itemId}/jobs/{jobType}/schedules
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
item
|
path | True |
string uuid |
The item ID. |
job
|
path | True |
string |
The job type. |
workspace
|
path | True |
string uuid |
The workspace ID. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
Successfully retrieved all item schedules. |
|
Other Status Codes |
Common error codes:
|
Examples
List item schedules example
Sample request
GET https://api.fabric.microsoft.com/v1/workspaces/cfafbeb1-8037-4d0c-896e-a46fb27ff229/items/3546052c-ae64-4526-b1a8-52af7761426f/jobs/DefaultJob/schedules
Sample response
{
"value": [
{
"id": "5b218778-e7a5-4d73-8187-f10824047715",
"enabled": true,
"createdDateTime": "2024-04-28T05:35:20.5366667",
"configuration": {
"startDateTime": "2024-04-28T00:00:00",
"endDateTime": "2024-04-30T23:59:00",
"localTimeZoneId": "Central Standard Time",
"type": "Cron",
"interval": 10
},
"owner": {
"id": "8eedb1b0-3af8-4b17-8e7e-663e61e12211",
"type": "User"
}
},
{
"id": "96f3f0ff-4fe2-4712-b61b-05a456ba9357",
"enabled": true,
"createdDateTime": "2024-04-28T05:35:20.5366667",
"configuration": {
"startDateTime": "2024-04-28T00:00:00",
"endDateTime": "2024-04-30T23:59:00",
"localTimeZoneId": "Central Standard Time",
"type": "Weekly",
"weekdays": [
"Monday",
"Tuesday"
],
"times": [
"18:09",
"17:12"
]
},
"owner": {
"id": "8eedb1b0-3af8-4b17-8e7e-663e61e12211",
"type": "User"
}
},
{
"id": "c0ed1d27-32dc-49e6-90ba-cac9b6248c7f",
"enabled": true,
"createdDateTime": "2024-04-28T05:35:20.5366667",
"configuration": {
"startDateTime": "2024-04-28T00:00:00",
"endDateTime": "2024-04-30T23:59:00",
"localTimeZoneId": "Central Standard Time",
"type": "Daily",
"times": [
"18:09",
"17:12"
]
},
"owner": {
"id": "8eedb1b0-3af8-4b17-8e7e-663e61e12211",
"type": "User"
}
}
]
}
Definitions
Name | Description |
---|---|
Cron |
|
Daily |
|
Day |
A list of weekdays, at most seven elements are allowed. |
Error |
The error related resource details object. |
Error |
The error response. |
Error |
The error response details. |
Group |
Group specific details. Applicable when the principal type is |
Group |
The type of the group. Additional group types may be added over time. |
Item |
Item schedule. |
Item |
list of schedules for this item. |
Principal |
Represents an identity or a Microsoft Entra group. |
Principal |
The type of the principal. Additional principal types may be added over time. |
Service |
Service principal specific details. Applicable when the principal type is |
Service |
Service principal profile details. Applicable when the principal type is |
User |
User principal specific details. Applicable when the principal type is |
Weekly |
CronScheduleConfig
Name | Type | Description |
---|---|---|
endDateTime |
string |
The end time for this schedule. The end time must be later than the start time. |
interval |
integer |
The time interval in minutes. A number between 1 and 5270400 (10 years). |
localTimeZoneId |
string |
The time zone identifier registry on local computer for windows, see Default Time Zones |
startDateTime |
string |
The start time for this schedule. If the start time is in the past, it will trigger a job instantly. |
type |
string:
Cron |
A string represents the type of the plan. Additional planType types may be added over time. |
DailyScheduleConfig
Name | Type | Description |
---|---|---|
endDateTime |
string |
The end time for this schedule. The end time must be later than the start time. |
localTimeZoneId |
string |
The time zone identifier registry on local computer for windows, see Default Time Zones |
startDateTime |
string |
The start time for this schedule. If the start time is in the past, it will trigger a job instantly. |
times |
string[] |
A list of time slots in hh:mm format, at most 100 elements are allowed. |
type |
string:
Daily |
A string represents the type of the plan. Additional planType types may be added over time. |
DayOfWeek
A list of weekdays, at most seven elements are allowed.
Name | Type | Description |
---|---|---|
Friday |
string |
Friday |
Monday |
string |
Monday |
Saturday |
string |
Saturday |
Sunday |
string |
Sunday |
Thursday |
string |
Thursday |
Tuesday |
string |
Tuesday |
Wednesday |
string |
Wednesday |
ErrorRelatedResource
The error related resource details object.
Name | Type | Description |
---|---|---|
resourceId |
string |
The resource ID that's involved in the error. |
resourceType |
string |
The type of the resource that's involved in the error. |
ErrorResponse
The error response.
Name | Type | Description |
---|---|---|
errorCode |
string |
A specific identifier that provides information about an error condition, allowing for standardized communication between our service and its users. |
message |
string |
A human readable representation of the error. |
moreDetails |
List of additional error details. |
|
relatedResource |
The error related resource details. |
|
requestId |
string |
ID of the request associated with the error. |
ErrorResponseDetails
The error response details.
Name | Type | Description |
---|---|---|
errorCode |
string |
A specific identifier that provides information about an error condition, allowing for standardized communication between our service and its users. |
message |
string |
A human readable representation of the error. |
relatedResource |
The error related resource details. |
GroupDetails
Group specific details. Applicable when the principal type is Group
.
Name | Type | Description |
---|---|---|
groupType |
The type of the group. Additional group types may be added over time. |
GroupType
The type of the group. Additional group types may be added over time.
Name | Type | Description |
---|---|---|
DistributionList |
string |
Principal is a distribution list. |
SecurityGroup |
string |
Principal is a security group. |
Unknown |
string |
Principal group type is unknown. |
ItemSchedule
Item schedule.
Name | Type | Description |
---|---|---|
configuration | ScheduleConfig: |
The actual data contains the time/weekdays of this schedule. |
createdDateTime |
string |
The created time stamp of this schedule in Utc. |
enabled |
boolean |
Whether this schedule is enabled. True - Enabled, False - Disabled. |
id |
string |
The schedule ID. |
owner |
The user identity that created this schedule or last modified. |
ItemSchedules
list of schedules for this item.
Name | Type | Description |
---|---|---|
continuationToken |
string |
The token for the next result set batch. If there are no more records, it's removed from the response. |
continuationUri |
string |
The URI of the next result set batch. If there are no more records, it's removed from the response. |
value |
list of schedules for this item. |
Principal
Represents an identity or a Microsoft Entra group.
Name | Type | Description |
---|---|---|
displayName |
string |
The principal's display name. |
groupDetails |
Group specific details. Applicable when the principal type is |
|
id |
string |
The principal's ID. |
servicePrincipalDetails |
Service principal specific details. Applicable when the principal type is |
|
servicePrincipalProfileDetails |
Service principal profile details. Applicable when the principal type is |
|
type |
The type of the principal. Additional principal types may be added over time. |
|
userDetails |
User principal specific details. Applicable when the principal type is |
PrincipalType
The type of the principal. Additional principal types may be added over time.
Name | Type | Description |
---|---|---|
Group |
string |
Principal is a security group. |
ServicePrincipal |
string |
Principal is a Microsoft Entra service principal. |
ServicePrincipalProfile |
string |
Principal is a service principal profile. |
User |
string |
Principal is a Microsoft Entra user principal. |
ServicePrincipalDetails
Service principal specific details. Applicable when the principal type is ServicePrincipal
.
Name | Type | Description |
---|---|---|
aadAppId |
string |
The service principal's Microsoft Entra AppId. |
ServicePrincipalProfileDetails
Service principal profile details. Applicable when the principal type is ServicePrincipalProfile
.
Name | Type | Description |
---|---|---|
parentPrincipal |
The service principal profile's parent principal. |
UserDetails
User principal specific details. Applicable when the principal type is User
.
Name | Type | Description |
---|---|---|
userPrincipalName |
string |
The user principal name. |
WeeklyScheduleConfig
Name | Type | Description |
---|---|---|
endDateTime |
string |
The end time for this schedule. The end time must be later than the start time. |
localTimeZoneId |
string |
The time zone identifier registry on local computer for windows, see Default Time Zones |
startDateTime |
string |
The start time for this schedule. If the start time is in the past, it will trigger a job instantly. |
times |
string[] |
A list of time slots in hh:mm format, at most 100 elements are allowed. |
type |
string:
Weekly |
A string represents the type of the plan. Additional planType types may be added over time. |
weekdays |
A list of weekdays, at most seven elements are allowed. |