Add a new notification rule for the given vehicle (and logged in user).
Note that the API key has to be sent as Token 123 where 123 is
the key you received after logging in or by creating on the developer
dashboard.
ID of vehicle to add a new notification rule for.
A rule that configures when a user should be notified of a vehicle's actions. As such, notification rules are always configured for a vehicle and user pair.
The operator (if any) that is used to trigger the notification.
NOTIF_OP_LT, NOTIF_OP_GT, NOTIF_OP_LT_TW, NOTIF_OP_GT_TW, NOTIF_OP_EQ, NOTIF_OP_UEQ, NOTIF_OP_ENTER, NOTIF_OP_LEAVE, NOTIF_OP_ACTION The priority with which the notification is generated. This tells if there will be simply an entry in the vehicle logbook, if a push notification on the web dashboard should be generated, or if a push notification (alert) on the user's smartphone should be generated.
NOTIF_LOW, NOTIF_HIGH, NOTIF_ALERT Indicates which property is generating the notification. Corresponds to vehicle actions, please consult the respective documentation.
The value which is used to trigger the notification generation (e.g., if NOTIF_OP_LT
is chosen as an operator, a notification is generated as soon as the property becomes
less than the value).
Certain notifications are generated based on other elements, whose key can be specified here. For example, this could be a geofence ID.
The time window start, in ISO 8601 format. This is the time at which the notification generation starts.
The time window end, in ISO 8601 format. This is the time at which the notification generation ends.
The timezone in which the time window is specified
Successful addition of the notification rule.