GET horizon/v1/administration/workschedules/weekly
Retrieves a weekly work schedule
Notes: Odataoperators startswith, endswith, substringof, eq for property Name
eq for property Id
Example"/horizon/v1/administration/workschedules/weekly?$filter=Name eq '9 to 6 with flextime'"
"/horizon/v1/administration/workschedules/weekly?$filter=Id eq 1""/horizon/v1/administration/workschedules/weekly?$filter=startswith(Name,'9 to 6 with flextime')"
"/horizon/v1/administration/workschedules/weekly (Note: retrieve all)"
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of Milenio3.Horizon.Dto.Entities.Configuration.WeeklyWorkScheduleDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
Max length: 40 |
|
| TotalWorkTime | integer |
None. |
|
| SundayDailySchedule | Milenio3.Horizon.Dto.Entities.Configuration.DailyScheduleDto |
None. |
|
| MondayDailySchedule | Milenio3.Horizon.Dto.Entities.Configuration.DailyScheduleDto |
None. |
|
| TuesdayDailySchedule | Milenio3.Horizon.Dto.Entities.Configuration.DailyScheduleDto |
None. |
|
| WednesdayDailySchedule | Milenio3.Horizon.Dto.Entities.Configuration.DailyScheduleDto |
None. |
|
| ThursdayDailySchedule | Milenio3.Horizon.Dto.Entities.Configuration.DailyScheduleDto |
None. |
|
| FridayDailySchedule | Milenio3.Horizon.Dto.Entities.Configuration.DailyScheduleDto |
None. |
|
| SaturdayDailySchedule | Milenio3.Horizon.Dto.Entities.Configuration.DailyScheduleDto |
None. |
|
| CreatedOn | date |
None. |
|
| CreatedBy | integer |
None. |
|
| ModifiedOn | date |
None. |
|
| ModifiedBy | integer |
None. |
|
| Id | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Name": "sample string 1",
"TotalWorkTime": 2,
"SundayDailySchedule": {
"Name": "sample string 1",
"Description": "sample string 2",
"Id": 1,
"DayOff": true,
"LikePreviousDay": true,
"WorkingTimeStart": 5,
"WorkingTimeEnd": 6,
"ToleranceAfterStart": 1,
"ToleranceBeforeEnd": 1,
"Type": "Rigid",
"BusinessHoursStart": 1,
"BusinessHoursEnd": 1,
"CoreTime1Start": 1,
"CoreTime1End": 1,
"CoreTime2Start": 1,
"CoreTime2End": 1,
"Breaks": [
{
"StartTime": 1,
"EndTime": 2,
"Duration": 3,
"Type": 10
},
{
"StartTime": 1,
"EndTime": 2,
"Duration": 3,
"Type": 10
}
]
},
"MondayDailySchedule": {
"Name": "sample string 1",
"Description": "sample string 2",
"Id": 1,
"DayOff": true,
"LikePreviousDay": true,
"WorkingTimeStart": 5,
"WorkingTimeEnd": 6,
"ToleranceAfterStart": 1,
"ToleranceBeforeEnd": 1,
"Type": "Rigid",
"BusinessHoursStart": 1,
"BusinessHoursEnd": 1,
"CoreTime1Start": 1,
"CoreTime1End": 1,
"CoreTime2Start": 1,
"CoreTime2End": 1,
"Breaks": [
{
"StartTime": 1,
"EndTime": 2,
"Duration": 3,
"Type": 10
},
{
"StartTime": 1,
"EndTime": 2,
"Duration": 3,
"Type": 10
}
]
},
"TuesdayDailySchedule": {
"Name": "sample string 1",
"Description": "sample string 2",
"Id": 1,
"DayOff": true,
"LikePreviousDay": true,
"WorkingTimeStart": 5,
"WorkingTimeEnd": 6,
"ToleranceAfterStart": 1,
"ToleranceBeforeEnd": 1,
"Type": "Rigid",
"BusinessHoursStart": 1,
"BusinessHoursEnd": 1,
"CoreTime1Start": 1,
"CoreTime1End": 1,
"CoreTime2Start": 1,
"CoreTime2End": 1,
"Breaks": [
{
"StartTime": 1,
"EndTime": 2,
"Duration": 3,
"Type": 10
},
{
"StartTime": 1,
"EndTime": 2,
"Duration": 3,
"Type": 10
}
]
},
"WednesdayDailySchedule": {
"Name": "sample string 1",
"Description": "sample string 2",
"Id": 1,
"DayOff": true,
"LikePreviousDay": true,
"WorkingTimeStart": 5,
"WorkingTimeEnd": 6,
"ToleranceAfterStart": 1,
"ToleranceBeforeEnd": 1,
"Type": "Rigid",
"BusinessHoursStart": 1,
"BusinessHoursEnd": 1,
"CoreTime1Start": 1,
"CoreTime1End": 1,
"CoreTime2Start": 1,
"CoreTime2End": 1,
"Breaks": [
{
"StartTime": 1,
"EndTime": 2,
"Duration": 3,
"Type": 10
},
{
"StartTime": 1,
"EndTime": 2,
"Duration": 3,
"Type": 10
}
]
},
"ThursdayDailySchedule": {
"Name": "sample string 1",
"Description": "sample string 2",
"Id": 1,
"DayOff": true,
"LikePreviousDay": true,
"WorkingTimeStart": 5,
"WorkingTimeEnd": 6,
"ToleranceAfterStart": 1,
"ToleranceBeforeEnd": 1,
"Type": "Rigid",
"BusinessHoursStart": 1,
"BusinessHoursEnd": 1,
"CoreTime1Start": 1,
"CoreTime1End": 1,
"CoreTime2Start": 1,
"CoreTime2End": 1,
"Breaks": [
{
"StartTime": 1,
"EndTime": 2,
"Duration": 3,
"Type": 10
},
{
"StartTime": 1,
"EndTime": 2,
"Duration": 3,
"Type": 10
}
]
},
"FridayDailySchedule": {
"Name": "sample string 1",
"Description": "sample string 2",
"Id": 1,
"DayOff": true,
"LikePreviousDay": true,
"WorkingTimeStart": 5,
"WorkingTimeEnd": 6,
"ToleranceAfterStart": 1,
"ToleranceBeforeEnd": 1,
"Type": "Rigid",
"BusinessHoursStart": 1,
"BusinessHoursEnd": 1,
"CoreTime1Start": 1,
"CoreTime1End": 1,
"CoreTime2Start": 1,
"CoreTime2End": 1,
"Breaks": [
{
"StartTime": 1,
"EndTime": 2,
"Duration": 3,
"Type": 10
},
{
"StartTime": 1,
"EndTime": 2,
"Duration": 3,
"Type": 10
}
]
},
"SaturdayDailySchedule": {
"Name": "sample string 1",
"Description": "sample string 2",
"Id": 1,
"DayOff": true,
"LikePreviousDay": true,
"WorkingTimeStart": 5,
"WorkingTimeEnd": 6,
"ToleranceAfterStart": 1,
"ToleranceBeforeEnd": 1,
"Type": "Rigid",
"BusinessHoursStart": 1,
"BusinessHoursEnd": 1,
"CoreTime1Start": 1,
"CoreTime1End": 1,
"CoreTime2Start": 1,
"CoreTime2End": 1,
"Breaks": [
{
"StartTime": 1,
"EndTime": 2,
"Duration": 3,
"Type": 10
},
{
"StartTime": 1,
"EndTime": 2,
"Duration": 3,
"Type": 10
}
]
},
"CreatedOn": "2026-06-21T01:11:55.0907135+01:00",
"CreatedBy": 4,
"ModifiedOn": "2026-06-21T01:11:55.0907135+01:00",
"ModifiedBy": 1,
"Id": 5
},
{
"Name": "sample string 1",
"TotalWorkTime": 2,
"SundayDailySchedule": {
"Name": "sample string 1",
"Description": "sample string 2",
"Id": 1,
"DayOff": true,
"LikePreviousDay": true,
"WorkingTimeStart": 5,
"WorkingTimeEnd": 6,
"ToleranceAfterStart": 1,
"ToleranceBeforeEnd": 1,
"Type": "Rigid",
"BusinessHoursStart": 1,
"BusinessHoursEnd": 1,
"CoreTime1Start": 1,
"CoreTime1End": 1,
"CoreTime2Start": 1,
"CoreTime2End": 1,
"Breaks": [
{
"StartTime": 1,
"EndTime": 2,
"Duration": 3,
"Type": 10
},
{
"StartTime": 1,
"EndTime": 2,
"Duration": 3,
"Type": 10
}
]
},
"MondayDailySchedule": {
"Name": "sample string 1",
"Description": "sample string 2",
"Id": 1,
"DayOff": true,
"LikePreviousDay": true,
"WorkingTimeStart": 5,
"WorkingTimeEnd": 6,
"ToleranceAfterStart": 1,
"ToleranceBeforeEnd": 1,
"Type": "Rigid",
"BusinessHoursStart": 1,
"BusinessHoursEnd": 1,
"CoreTime1Start": 1,
"CoreTime1End": 1,
"CoreTime2Start": 1,
"CoreTime2End": 1,
"Breaks": [
{
"StartTime": 1,
"EndTime": 2,
"Duration": 3,
"Type": 10
},
{
"StartTime": 1,
"EndTime": 2,
"Duration": 3,
"Type": 10
}
]
},
"TuesdayDailySchedule": {
"Name": "sample string 1",
"Description": "sample string 2",
"Id": 1,
"DayOff": true,
"LikePreviousDay": true,
"WorkingTimeStart": 5,
"WorkingTimeEnd": 6,
"ToleranceAfterStart": 1,
"ToleranceBeforeEnd": 1,
"Type": "Rigid",
"BusinessHoursStart": 1,
"BusinessHoursEnd": 1,
"CoreTime1Start": 1,
"CoreTime1End": 1,
"CoreTime2Start": 1,
"CoreTime2End": 1,
"Breaks": [
{
"StartTime": 1,
"EndTime": 2,
"Duration": 3,
"Type": 10
},
{
"StartTime": 1,
"EndTime": 2,
"Duration": 3,
"Type": 10
}
]
},
"WednesdayDailySchedule": {
"Name": "sample string 1",
"Description": "sample string 2",
"Id": 1,
"DayOff": true,
"LikePreviousDay": true,
"WorkingTimeStart": 5,
"WorkingTimeEnd": 6,
"ToleranceAfterStart": 1,
"ToleranceBeforeEnd": 1,
"Type": "Rigid",
"BusinessHoursStart": 1,
"BusinessHoursEnd": 1,
"CoreTime1Start": 1,
"CoreTime1End": 1,
"CoreTime2Start": 1,
"CoreTime2End": 1,
"Breaks": [
{
"StartTime": 1,
"EndTime": 2,
"Duration": 3,
"Type": 10
},
{
"StartTime": 1,
"EndTime": 2,
"Duration": 3,
"Type": 10
}
]
},
"ThursdayDailySchedule": {
"Name": "sample string 1",
"Description": "sample string 2",
"Id": 1,
"DayOff": true,
"LikePreviousDay": true,
"WorkingTimeStart": 5,
"WorkingTimeEnd": 6,
"ToleranceAfterStart": 1,
"ToleranceBeforeEnd": 1,
"Type": "Rigid",
"BusinessHoursStart": 1,
"BusinessHoursEnd": 1,
"CoreTime1Start": 1,
"CoreTime1End": 1,
"CoreTime2Start": 1,
"CoreTime2End": 1,
"Breaks": [
{
"StartTime": 1,
"EndTime": 2,
"Duration": 3,
"Type": 10
},
{
"StartTime": 1,
"EndTime": 2,
"Duration": 3,
"Type": 10
}
]
},
"FridayDailySchedule": {
"Name": "sample string 1",
"Description": "sample string 2",
"Id": 1,
"DayOff": true,
"LikePreviousDay": true,
"WorkingTimeStart": 5,
"WorkingTimeEnd": 6,
"ToleranceAfterStart": 1,
"ToleranceBeforeEnd": 1,
"Type": "Rigid",
"BusinessHoursStart": 1,
"BusinessHoursEnd": 1,
"CoreTime1Start": 1,
"CoreTime1End": 1,
"CoreTime2Start": 1,
"CoreTime2End": 1,
"Breaks": [
{
"StartTime": 1,
"EndTime": 2,
"Duration": 3,
"Type": 10
},
{
"StartTime": 1,
"EndTime": 2,
"Duration": 3,
"Type": 10
}
]
},
"SaturdayDailySchedule": {
"Name": "sample string 1",
"Description": "sample string 2",
"Id": 1,
"DayOff": true,
"LikePreviousDay": true,
"WorkingTimeStart": 5,
"WorkingTimeEnd": 6,
"ToleranceAfterStart": 1,
"ToleranceBeforeEnd": 1,
"Type": "Rigid",
"BusinessHoursStart": 1,
"BusinessHoursEnd": 1,
"CoreTime1Start": 1,
"CoreTime1End": 1,
"CoreTime2Start": 1,
"CoreTime2End": 1,
"Breaks": [
{
"StartTime": 1,
"EndTime": 2,
"Duration": 3,
"Type": 10
},
{
"StartTime": 1,
"EndTime": 2,
"Duration": 3,
"Type": 10
}
]
},
"CreatedOn": "2026-06-21T01:11:55.0907135+01:00",
"CreatedBy": 4,
"ModifiedOn": "2026-06-21T01:11:55.0907135+01:00",
"ModifiedBy": 1,
"Id": 5
}
]