Differences

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

Link to this comparison view

en:d-sdk:9_notifications:1_get_list_notification [2018/04/27 01:52] (current)
support@geliossoft.ru created
Line 1: Line 1:
 +====== Notification List ======
 +The request is intended to get notification list of user account.
  
 +=== Request Example ===
 +<code php>&​svc=get_list_notification</​code>​
 +
 +=== Parameters ===
 +
 +=== Additional Information ===
 +
 +=== Server Response ===
 +<code php>[
 +    {
 +         "​id":​6009,​
 +         "​id_user":​24237,​
 +         "​type":​3,​
 +         "​params":"​id_geozone:​129428;",​
 +         "​action":"​3",​
 +         "​id_units":"​28738",​
 +         "​text_message":"​testNotif",​
 +         "​name":​null,​
 +         "​lang":"​ru",​
 +         "​json_data":​null
 +    },{
 +         "​id":​6010,​
 +         "​id_user":​24237,​
 +         "​type":​13,​
 +         "​params":​null,​
 +         "​action":​null,​
 +         "​id_units":​null,​
 +         "​text_message":​null,​
 +         "​name":"​Lost Connection",​
 +         "​lang":"​en",​
 +         "​json_data":"​{\"​params\":​[{\"​type\":​\"​6\",​\"​max_value\":​\"​5\"​}],​\"​actions\":​[{\"​action\":​\"​3\",​\"​text_message\":​\"​Lost Connection!\"​}]}"​
 +    }
 +]</​code>​