Executing several commands

Several commands can be executed at one request. For this, use core/batch:

svc=core/batch&params=[
			{
				"svc":<text>,
				"params":{}
			}
		      ]

:!: You can find an example of this request in the sample Executing several commands at once.

Parameters

Name Description
svc command name
params parameters

Response

[
	{	/* object with data if there are no errors */
		...
	},
	{	/* error code if an error has occurred */
		"error":<int>
	},
	...
]

Errors

Code Value
1 invalid session
2 invalid service name
3 invalid result
4 invalid format or value of parameters
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2024 Gurtam