Skip to main content
POST
Set alert rules

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

accountId
string<uuid>
required
assetId
string<uuid>
required
eventType
enum<integer>
required
Available options:
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

Body

application/json
recipient
object
required
channel
object
required
isDisabled
null | boolean

Indicates whether this alert rule is disabled, or null to disable this filter.

daysOfWeek
null | enum<integer>[]

The days of the week on which this alert rule is active, or null to disable this filter.

Available options:
0,
1,
2,
3,
4,
5,
6
timeOfDay
null | object

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).

dates
null | object

The dates between which this alert rule is active, or null to disable this filter.

insideGeofences
null | string<uuid>[]

The geofences in any of which the asset must be for the alert rule to be active, or null to disable this filter.

outsideGeofences
null | string<uuid>[]

The geofences outside all of which the asset must be for the alert rule to be active, or null to disable this filter.

Response

No Content