COVID-19 Update: A message to our Customers, Partners, and SALTO Systems Community. Read more.

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.2/access_groups/{id}/time_schedules
Method: POST
Parameters:
path {
id
type: string

id of the access group

id
} (string)

Body (application/json):
{

"start_time"
start_time
type: object

: {
"hours"
hours
type: integer, format: int32

: "integer",
"minutes"
minutes
type: integer, format: int32

: "integer",
"seconds"
seconds
type: integer, format: int32

: "integer",
"milliseconds"
milliseconds
type: integer, format: int32

: "integer",
"ticks"
ticks
type: integer, format: int64

: "integer",
"days"
days
type: integer, format: int32

: "integer",
"total_days"
total_days
type: number, format: double

: "number",
"total_hours"
total_hours
type: number, format: double

: "number",
"total_milliseconds"
total_milliseconds
type: number, format: double

: "number",
"total_minutes"
total_minutes
type: number, format: double

: "number",
"total_seconds"
total_seconds
type: number, format: double

: "number"

},
"end_time"
end_time
type: object

: {
"hours"
hours
type: integer, format: int32

: "integer",
"minutes"
minutes
type: integer, format: int32

: "integer",
"seconds"
seconds
type: integer, format: int32

: "integer",
"milliseconds"
milliseconds
type: integer, format: int32

: "integer",
"ticks"
ticks
type: integer, format: int64

: "integer",
"days"
days
type: integer, format: int32

: "integer",
"total_days"
total_days
type: number, format: double

: "number",
"total_hours"
total_hours
type: number, format: double

: "number",
"total_milliseconds"
total_milliseconds
type: number, format: double

: "number",
"total_minutes"
total_minutes
type: number, format: double

: "number",
"total_seconds"
total_seconds
type: number, format: double

: "number"

},
"start_date"
start_date
type: string, format: string

The date and time at which the timeschedule starts beeing valid /// If time part is not provided, time is 00:00:00

: "string",
"end_date"
end_date
type: string, format: string

The date and time at which the timeschedule stops being valid If time part is not provided, time is 23:59:59

: "string",
"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"

}