Knowledge base
Tips and tricks Best practice guides, FAQ & more
Find tutorials, guides and use case examples in the
Learning center'Get All Schedules' returns a list of all schedules currently configured on the Controller. The returned list of schedules will give access to names and IDs of the schedules which is needed to call other endpoints in the API.
http://localhost:9001/api/v3/schedules
curl -X GET --header 'Accept: application/json' --header 'AccessKey: Mo87Nc4qDAtzJNDb’ 'http://localhost:9001/api/v3/schedules?api_key=Mo87Nc4qDAtzJNDb'
$headers = @{}
$headers.Add("AccessKey","Mo87Nc4qDAtzJNDb")
Invoke-WebRequest -Uri "http://localhost:9001/api/v3/schedules" -ContentType "application/json" -Headers $headers -Method GET
A list of all Schedule items is returned in the JSON response.
[ |
Field | Type | Description | Values |
---|---|---|---|
$id | string | ID of internal object | N/A |
IsEnabled | boolean | Is schedule Enabled/Disable status | True | False |
IsScheduled | boolean | The type of the schedule:
|
True | False |
DayOfWeek | string | Days of week configured for a schedule of type “Scheduled”. | 'No', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', Friday', 'Saturday', 'Sunday', 'Workdays', 'Weekend', 'EveryDay' |
DailyWindowPeriodEnd | string | End time configured for the ‘Daily run window’. | |
DailyWindowPeriodStart | string | Start window configured for the ‘Daily run window’ | |
Repeat | string | Repeat mode:
|
‘No Repeat', 'RepeatEvery', 'StartRightAfterLastRun' |
RepeatMinutes | number | Number of minutes between 2 runs of a schedule (‘Repeat every’). | |
DateCreation | DapperDateTimeOffset | Schedule Creation date | |
DateModify | DapperDateTimeOffset | Schedule Modification date | |
DapperDateTimeOffset | Object | Object holds values for DateCreation and DateModify | "$id","Value","LocalDateTime","UtcDateTime","Ticks" |
$id | string | ID of internal object | |
Value | string | Saved date time | |
LocalDateTime | string | Date time local | |
UtcDateTime | string | Date time UTC | |
Ticks | number | Date time in ticks | |
Title | string | Unique Schedule Title | |
Type | |||
Id | string | Unique Id of Schedule (ScheduleId) |
200 (OK)
404 (Not Found)
401 (Unauthorized)
400 (Bad Request)
405 (Method Not Allowed)
500 (Internal Server Error)
©2024, Leapwork. All rights reserved.