All actions are executed only through POST requests, via https protocol. Additional parameters (“params”) should be given in the form of JSON. 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:
https://{host}/wialon/ajax.html?sid=<text>&svc=<svc>¶ms={<params>}
Attention! it is obligatory to point Content-Type:application/x-www-form-urlencoded in request header.
Please make sure, that you use HTTPS protocol.
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).
|