All actions are executed only through POST requests. Additional parameters (“params”) should be given in the form of JSON. The response is also returned as JSON. All text parameters, either sent or returned, are supposed to use UTF-8 encoding.
JSON is not supported HEX values, use DEC.
Request template:
http://{host}/ajax.html?sid=<text>&svc=<svc>¶ms={<params>}
Attention! it is obligatory to point Content-Type:application/x-www-form-urlencoded in request header.
Parameters
Name | Description |
---|---|
sid | session ID |
svc | command |
params | parameters for command execution |
Attention! In the following chapters, the values of only two parameters will be described. These parameters are svc and params. Session ID (sid) is a mandatory parameter needed to execute all requests (except login and some requests from the chapter Other requests).