Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Article contentsContent of this article:

Table of Contents

API Content:

Child pages (Children Display)
alltrue


The Vutlan systems web interface uses HTTP / HTTPS protocols for information exchange.

POST the request is used to query and to change the current settings of the monitoring system. In this case, a request is made from the client part (web interface in the browser) to the server part (CGI-program). Current parameters are returned by the server part in xml format. AJAX technology can be used for exchange.

...

When accessing the server, you need to specify the CGI - program to which the request is being sent. For general queries, this is "engine.htm". Thus, the full path will be http://192.168.0.193/engine.htm.

The query is sent as a HTTP POST request and consists of fields. The query field is the field name and field value separated with '=' sign. A query can contain multiple fields, in this case, the fields are separated with '&' sign.

...

The response from the server part to the client part is transmitted as a document in *.xml format. The content of the xml XML document corresponds to the command passed in the request. If the command fails to execute, the server part returns an error in the form:

...

  • k - key, determines the level of access in the system (profile), for the user who sends the request, is issued during authorization;
  • querytype - the type of the request , contains the command that the server part should execute;
  • The presence of other fields and their names depend on the type of request.

...

  • element - a structural unit in the system (sensor, device, e-mail notification, etc.);
  • module - a combination of elements that are combined in the system according to a structural feature (composite sensor, module uniting cameras or SMS notifications, etc.);
  • group - a combination of objects that are united in the system according to an arbitrary characteristic (user-defined).

...