You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

In the Emulator integration module, you can work with the Swagger directly via POST requests. To do this, do the following:

  1. Activate the Swagger and Swagger UI (see Configuring the object of the Emulator ACFA integration module).
  2. Connect to the Swagger in a Web-browser using the string:
    http://{ip}:{port}/swagger
    The following page will be available after the connection:

  3. You can authorize by the token which was displayed in the settings of an object of the Emulator integration module (see Configuring the object of the Emulator ACFA integration module), by clicking the Authorize button in the upper right corner of the page.
  4. After successful authorization, you can execute the following commands:

    To execute the commands, do the following:
    1. Select the corresponding request.
    2. Click the Try it Out button.
    3. Click the Execute button. 

Examples of commands:

  • Read the hardware tree with the current states. The GET/virtual/tree request.
  • Switch the sensor with the specified address to the arm state.
  • Switch the sensor with the specified address to the disarm state.
  • Switch the sensor with the specified address from the arm state to the alarm state.
  • Process the alarm and switch the sensor to the disarm state.
  • And so on, similarly to the described commands.
  • No labels