Widget Schedule
Example
{
"communityId": 15,
"customTimes": {
"monday": [
{
"startAt": "00:01:00",
"endAt": "18:00:00"
}
],
"tuesday": [
{
"startAt": "00:01:00",
"endAt": "18:00:00"
}
],
"wednesday": [
{
"startAt": "00:01:00",
"endAt": "18:00:00"
}
],
"thursday": [
{
"startAt": "00:01:00",
"endAt": "18:00:00"
}
],
"friday": [
{
"startAt": "00:01:00",
"endAt": "18:00:00"
}
],
"saturday": [
{
"startAt": "18:30:00",
"endAt": "19:00:00"
}
],
"sunday": [
{
"startAt": "18:30:00",
"endAt": "19:00:00"
}
]
},
"timePeriod": 3,
"widgetId": 706
}

Fields

Field
Type
Comments
widgetId
integer
Unique Id of widget
communityId
integer
Unique Id of community which widget belongs
timePeriod
integer
Time period defined which type of schedule used for widget: 1: everyday 2: only weekdays 3: custom schedule
customTimes
Represent custom schedule of different days of week. If time period has state with value "3" custom times will present; otherwise null.
times
array of Schedule Time
Represent schedule. If time period has state with value "1" or "3" times field will present; otherwise null.
Copy link