Retrieve the status of a relay (API version 5.0 or higher)

Function call(URL)PermissionsPossible parameters
/app_relais_get_statusAdmin
Sub-Admin
User
id
Unique Id of the relay


Example call:
https://192.168.0.240/app_relais_get_status?id=4177

Note: A user can only query the status of a relay if he has the appropriate authorization. For this purpose, the functions “Switching relays and alarms” or “Open door” must be activated in the user properties under Authorisations.


Response typePossible content
successfultrue Requesting the status of the relay successful
false Requesting the status of the relay not successful

Example response:

{ "successful": true }