Several commands can be executed at one request. For this, use core/batch:
svc=core/batch¶ms=[ { "svc":<text>, "params":{} } ]
You can find an example of this request in the sample Executing several commands at once.
| Name | Description |
|---|---|
| svc | command name |
| params | parameters |
[ { /* object with data if there are no errors */ ... }, { /* error code if an error has occurred */ "error":<int> }, ... ]
| Code | Value |
|---|---|
| 1 | invalid session |
| 2 | invalid service name |
| 3 | invalid result |
| 4 | invalid format or value of parameters |