Differences

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

Link to this comparison view

en:sidebar:remoteapi:apiref:core:batch [18/02/2013 09:04]
zuve
en:sidebar:remoteapi:apiref:core:batch [29/11/2013 13:31]
Line 1: Line 1:
-{{indexmenu_n>​18}} 
-====== Executing several commands ====== 
-Several commands can be executed at one request. For this, use **core/​batch**: ​ 
-<code javascript>​ 
-svc=core/​batch&​params=[ 
- { 
- "​svc":<​text>,​ 
- "​params":​{} 
- } 
-       ] 
-</​code>​ 
  
-:!: You can find an example of this request in the sample [[../​../​codesamples/​batch]]. 
- 
-===== Parameters ===== 
-^ Name ^ Description ^ 
-| svc | command name | 
-| params | parameters | 
- 
-===== Response ===== 
-<code javascript>​ 
-[ 
- { /* object with data if there are no errors */ 
- ... 
- }, 
- { /* error code if an error has occurred */ 
- "​error":<​int>​  
- }, 
- ... 
-] 
-</​code>​ 
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2024 Gurtam