This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
en:pro:remoteapi:codesamples:batch [06/03/2013 16:31] zuve |
en:pro:remoteapi:codesamples:batch [06/03/2013 16:31] zuve |
||
---|---|---|---|
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 31: | Line 31: | ||
</code> | </code> | ||
- | Результат выполнения: | + | Response: |
<code javascript> | <code javascript> | ||
[ | [ |
|