Use the following command to work with the Technoserv integration:

http://<IP address>:<Port>/web2/secure/api/bg[/request]

The 127.0.0.1 IP address and default 8085 port of the Web server 2.0 are given in the examples below. This data is subject to change.

Getting a list of cameras

GET http://127.0.0.1:8085/web2/secure/api/bg

If in the Additional information field on the camera settings panel is filled in the format coords:[longitude]:[latitude]:[angle]:[azimuth]:[radius]then this data will be returned in response to the request in the corresponding parameters. See also Additional information on camera.

Get a list of subscriptions

GET http://127.0.0.1:8085/web2/secure/api/bg/events/subscriptions

Create subscription

POST http://127.0.0.1:8085/web2/secure/api/bg/events/subscriptions

{"callback":"https://webhook.site/26d15078-c405-4918-8f03-4f2a01b7580f","filter":{"action":"RUN","type":"MACRO"},"id":"5"}

Delete subscription

DELETE http://127.0.0.1:8085/web2/secure/api/bg/events/subscriptions/071e0159-5b2c-4bab-8ed7-42397f1b99b8

Delete all subscriptions

DELETE http://127.0.0.1:8085/web2/secure/api/bg/events/subscriptions/all