POST v1/updNotify
Метод для редагування нотифікації.
Request Information
URI Parameters
None.
Body Parameters
NotifyUpd| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
ID нотифікації |
integer |
Required |
| notifyActionID |
ID типу нотифікації |
integer |
Required |
| notifyDevices |
Масив авто нотифікації |
Collection of NotifyDeviceUpd |
Required |
| notifyRegions |
Масив регіонів нотифікації. |
Collection of NotifyRegionUpd |
None. |
| notifyParams |
Масив параметрів нотифікації |
Collection of NotifyParamUpd |
Required |
| notifyDestinations |
Масив варіантів надходження нотифікації |
Collection of NotifyDestinationUpd |
Required |
| isActive |
Ознака чи нотифікація активна |
boolean |
Required |
| description |
Опис нотифікації |
string |
None. |
| dayOfWeek |
Масив днів тижня, у разі циклічного періоду дії (True або False) або (1 або 0) довжиною 7) |
Collection of boolean |
None. |
| dateFrom |
Дата/час початку дії нотифікації. |
date |
Required |
| dateTo |
Дата/час закінчення дії нотифікації. |
date |
Required |
| isUseTimeInEachDay |
Ознака чи враховувати час дії нотифікації в кожній добі (Для разової багатоденної нотифікації) |
boolean |
None. |
| scenarioKey |
Ключ сценарію нотифікації |
string |
None. |
| isDisposable |
Ознака чи видаляти нотифікацію після отримання |
boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"notifyActionID": 2,
"notifyDevices": [
{
"id": 1,
"deviceID": 2,
"groupDeviceID": 3,
"isAllDevices": true
},
{
"id": 1,
"deviceID": 2,
"groupDeviceID": 3,
"isAllDevices": true
}
],
"notifyRegions": [
{
"id": 1,
"regionID": 2,
"groupRegionID": 3,
"isAllRegions": true,
"isBaseRegion": true,
"name": "sample string 6",
"verticle": {
"x": 1.1,
"y": 2.1
},
"isDeleteCreatedRegion": true
},
{
"id": 1,
"regionID": 2,
"groupRegionID": 3,
"isAllRegions": true,
"isBaseRegion": true,
"name": "sample string 6",
"verticle": {
"x": 1.1,
"y": 2.1
},
"isDeleteCreatedRegion": true
}
],
"notifyParams": [
{
"id": 1,
"notifyParamTypeID": 2,
"notifyParamValue": "sample string 3"
},
{
"id": 1,
"notifyParamTypeID": 2,
"notifyParamValue": "sample string 3"
}
],
"notifyDestinations": [
{
"accountID": 1,
"email": "sample string 1"
},
{
"accountID": 1,
"email": "sample string 1"
}
],
"isActive": true,
"description": "sample string 4",
"dayOfWeek": [
true,
true
],
"dateFrom": "2026-06-10T07:09:53.1134012+03:00",
"dateTo": "2026-06-10T07:09:53.1134012+03:00",
"isUseTimeInEachDay": true,
"scenarioKey": "sample string 8",
"isDisposable": true
}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.