Здесь показаны различия между двумя версиями данной страницы.
Both sides previous revision Предыдущая версия | |||
ru:sidebar:remoteapi:codesamples:resources [18/06/2019 07:05] chdi [Создание элемента в ресурсе] |
ru:sidebar:remoteapi:codesamples:resources [18/06/2019 07:06] chdi [Создание элемента в ресурсе] |
||
---|---|---|---|
Строка 8: | Строка 8: | ||
<code> | <code> | ||
- | http://hst-api.wialon.com/wialon/ajax.html?svc=resource/update_notification¶ms={"n":"! not a group v2","ta":1559163600,"td":0,"tz":134228528,"la":"ru","ma":0,"sch":{"f1":0,"f2":0,"t1":0,"t2":0,"m":0,"y":0,"w":0},"ctrl_sch":{"f1":0,"f2":0,"t1":0,"t2":0,"m":0,"y":0,"w":0},"un":[814743],"trg":{"t":"trailer","p":{"driver_code_mask":"*","flags":2,"type":2}},"act":[{"t":"message","p":{"name":"! not a group v2","url":"","color":"","blink":0}},{"t":"exec_cmd","p":{"name":"Новая команда","param":"15156156156156","link":"","cmd_type":"custom_msg","units":"540,634,635,60,8694,83,809"}}],"txt":"%UNIT%: в %MSG_TIME% прицеп был откреплен.","fl":1,"mast":0,"mpst":0,"cdt":0,"mmtd":0,"cp":3600,"id":0,"itemId":242,"callMode":"create"}&sid=<your_sid> | + | http://hst-api.wialon.com/wialon/ajax.html?svc=resource/update_notification¶ms={ |
+ | "n":"! not a group v2","ta":1559163600,"td":0,"tz":134228528,"la":"ru","ma":0, | ||
+ | "sch": {"f1":0,"f2":0,"t1":0,"t2":0,"m":0,"y":0,"w":0},"ctrl_sch":{"f1":0,"f2":0,"t1":0,"t2":0,"m":0,"y":0,"w":0}, | ||
+ | "un":[814743],"trg":{"t":"trailer","p":{"driver_code_mask":"*","flags":2,"type":2}}, | ||
+ | "act":[{"t":"message","p":{"name":"! not a group v2","url":"","color":"","blink":0}}, | ||
+ | {"t":"exec_cmd","p":{"name":"Новая | ||
+ | команда","param":"15156156156156","link":"","cmd_type":"custom_msg","units":"540,634,635,60,8694,83,809"}}], | ||
+ | "txt":"%UNIT%: в %MSG_TIME% прицеп был откреплен.", | ||
+ | "fl":1,"mast":0,"mpst":0,"cdt":0,"mmtd":0,"cp":3600, | ||
+ | "id":0,"itemId":242,"callMode":"create"}&sid=<your_sid> | ||
</code> | </code> |
|