Add a time schedule for an access group

This endpoint allows to set a time schedule for an access group, if not set the access is valid 24/7.

0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
Endpoint: /v1.1/sites/{site_id}/access_groups/{access_group_id}/time_schedules
Method: POST
Parameters:
path {
site_id
type: string

Id of the site

site_id
} (string)

path {
access_group_id
type: string

Id of the access group

access_group_id
} (string)

Body (application/json):
{

"monday"
monday
type: boolean

Whether this timeschedule is valid on a Monday between start and end datetimes

: "boolean",
"tuesday"
tuesday
type: boolean

Whether this timeschedule is valid on a Tuesday between start and end datetimes

: "boolean",
"wednesday"
wednesday
type: boolean

Whether this timeschedule is valid on a Wednesday between start and end datetimes

: "boolean",
"thursday"
thursday
type: boolean

Whether this timeschedule is valid on a Thursday between start and end datetimes

: "boolean",
"friday"
friday
type: boolean

Whether this timeschedule is valid on a Friday between start and end datetimes

: "boolean",
"saturday"
saturday
type: boolean

Whether this timeschedule is valid on a Saturday between start and end datetimes

: "boolean",
"sunday"
sunday
type: boolean

Whether this timeschedule is valid on a Sunday between start and end datetimes

: "boolean",
"start_time"
start_time
type: string, format: date-span

The start of the time span on which this timeschedule is valid, for the selected days and date span.

: "string",
"end_time"
end_time
type: string, format: date-span

The end of the time span on which this timeschedule is valid, for the selected days and date span.

: "string",
"start_date"
start_date
type: string, format: date-time

The date at which the timeschedule starts beeing valid

: "string",
"end_date"
end_date
type: string, format: date-time

The date at which the timeschedule stops being valid

: "string"

}
App storePlay store