CreateAlertRuleRequest
- Type: object · AlertRuleChannel
channel required- Type: integer · ChannelTypeenum
type requiredInteger numbers.
values1 Call
2 Sms
3 Telegram
4 Email
- Type: object · CallChannelOptions nullable
call - Type: object · EmailChannelOptions nullable
email - Type: object · SmsChannelOptions nullable
sms - Type: object · TelegramChannelOptions nullable
telegram
- Type: object · Recipient
recipient requiredculture required- Type: string
phone Number requiredThe phone number of the recipient in E.164 format (e.g. +1234567890).
time Zone required- Type: null | string
description
- Type: object · DateRange nullable
dates The dates between which this alert rule is active, or null to disable this filter.
- Type: stringFormat: date
from requiredfull-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21
- Type: stringFormat: date
to requiredfull-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21
- Type: array integer[] | null · DayOfWeek[]enum
days Of Week The days of the week on which this alert rule is active, or null to disable this filter.
values0 1 2 3 4 5 6
- Type: integer · DayOfWeekenum
Integer numbers.
values0 Sunday
1 Monday
2 Tuesday
3 Wednesday
4 Thursday
5 Friday
6 Saturday
- Type: array string[] | null
inside Geofences The geofences in any of which the asset must be for the alert rule to be active, or null to disable this filter.
- Type: null | boolean
is Disabled Indicates whether this alert rule is disabled, or null to disable this filter.
- Type: array string[] | null
outside Geofences The geofences outside all of which the asset must be for the alert rule to be active, or null to disable this filter.
- Type: object · TimeRange nullable
time Of Day The times of the day during which this alert rule is active, or null to disable this filter. Range may cross midnight (e.g. from 22:00 to 06:00).
- Type: stringFormat: time
from requiredStart time (00:00:00 - 23:59:59)
- Type: stringFormat: time
to requiredEnd time (00:00:00 - 23:59:59)