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:sidebar:remoteapi:apiref:core:batch [18/02/2013 09:04]
zuve
en:sidebar:remoteapi:apiref:core:batch [29/11/2013 13:31] (current)
Line 9: Line 9:
  }  }
        ]        ]
 +</​code>​
 +
 +This command also can be called by following request:
 +<code javascript>​
 +svc=core/​batch&​params={
 + "​params":​ [{
 + "​svc":<​text>,​
 + "​params":​{}
 + }],
 + "​flags":<​uint>​}
 </​code>​ </​code>​
  
Line 17: Line 27:
 | svc | command name | | svc | command name |
 | params | parameters | | params | parameters |
 +| flags | 0 - execute all commands (by default), 1 - stop batch in case of returning error by some command |
  
 ===== Response ===== ===== Response =====
Line 30: Line 41:
 ] ]
 </​code>​ </​code>​
 +
 +:!:  If **"​flags"​** parameter has been set as **"​1"​** and an error has occured while executing one of the commands, then all consequent commands will return error 10.
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2024 Gurtam