This is an old revision of the document!
All actions are executed only through POST requests. 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:
http://{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.
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).
Limits for logins and sessions:
If these limits are met, IP address will be temporarily blocked. It can cause difficulty to log in to the system.
Limits for messages:
If these limits are met, messages stop being loaded or imported. It may cause difficulties in executing reports, building tracks, etc. If this happens, you can clear the panels Tracks, Messages, and Reports (or simply reload the page) and try again.
Limits for reports:
When the timeout is exceeded, report execution will be aborted. That means the report will not be generated. In this case, diminish time interval, number of analyzed objects, or scope of requested data (tables, charts, etc.).
Other limitations:
|