Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:pro:remoteapi:codesamples:batch [06/03/2013 16:31]
zuve
en:pro:remoteapi:codesamples:batch [29/11/2013 13:31] (current)
Line 2: Line 2:
 ====== Executing several commands at once ====== ====== Executing several commands at once ======
  
-Several commands can be executed with one request. In this case, the response is also presented in one JSON. For example we may need to send an online message to many users. We can do this using combination of [[../​apiref/​core/​batch|core/​batch]] and [[../​apiref/​user/​update_user_notification|update_user_notification]] commands:+Several commands can be executed with one request. In this case, the response is also presented in one JSON. For example we may need to send an online message to many users. We can do this using combination of [[../​apiref/​core/​batch|core/​batch]] and [[../​apiref/​user/​update_user_notification|user/update_user_notification]] commands:
  
 <​code>​ <​code>​
Line 28: Line 28:
  "​callMode":"​create"​  "​callMode":"​create"​
  }  }
- }]&sid=<​your_sid>​+ }]&ssid=<​your_sid>​
 </​code>​ </​code>​
  
-Результат выполнения:+Response:
 <code javascript>​ <code javascript>​
 [ [
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2024 Gurtam