Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:d-sdk:9_notifications:4_get_stats_notifications [2018/04/26 22:07]
support@geliossoft.ru created
en:d-sdk:9_notifications:4_get_stats_notifications [2021/07/07 13:28]
Line 1: Line 1:
-====== Triggered Notification List ====== 
-The request is intended to get list of triggered notifications. 
  
-=== Request Example === 
-<code php>&​svc=get_stats_notifications&​params={ 
-    "​from":​timestamp,​ 
-    "​to":​timestamp 
-}</​code>​ 
- 
-=== Parameters === 
-^ Parameter ​  ^ Description ​  ^ 
-| from | Start period of time | 
-| to | End period of time | 
- 
-=== Additional Information === 
-<spoiler |Plot details>​The butler did it!</​spoiler>​ 
- 
-=== Server Response === 
-<code php>[ 
-    { 
-         "​id":​4961441,​ 
-         "​notif_id":​6010,​ 
-         "​notif_type":​13,​ 
-         "​unit_id":​28738,​ 
-         "​text":"​Бетономеш:​ 2018-01-20 13:04:49 Потеря связи! - улица Октябрьской Революции,​ Коломна,​ Московская область,​ РФ", 
-         "​time":​1516442689,​ 
-         "​coords":"​55.105948,​38.746418"​ 
-    },{ 
-         "​id":​4961440,​ 
-         "​notif_id":​6010,​ 
-         "​notif_type":​13,​ 
-         "​unit_id":​28738,​ 
-         "​text":"​Бетономеш:​ 2018-01-20 13:02:24 Потеря связи! - улица Октябрьской Революции,​ Коломна,​ Московская область,​ РФ", 
-         "​time":​1516442544,​ 
-         "​coords":"​55.117172,​38.735958"​ 
-    } 
-]</​code>​