Create Notification

The request is intended to create a notification.

Request Example

&svc=create_notification&params={
    "type":integer,
    "id_units":[integer,integer,...],
    "id_geozone":inetegr,
    "type_notification":ushort,
    "text_notification":string
}

Parameters

Parameter Description
type Notification Type
id_units Array of Unique Unit IDs
id_geozone Unique Notification ID
type_notification NOtification Type:
e-mail message: 1
SMS message: 2
online message: 3
text_notification Notification Text

Additional Information

IMPORTANT! Only the creation of notifications on the exit from the geozone is available now.

Server Response

{
    "result":"6009"
}