2N TELEKOMUNIKACE a.s., www.2n.cz
34/42
4.2.3.7 Change of Items in Added Device List
Modify the list of added devices. The value
includes the serial numbers
to_add
separated with commas (,) to be added to the list. Analogously,
defines
to_remove
the serial numbers to be removed.
URL:
https://<IP>/api/v1/devices?action=put
HTTP method:
PUT
Request body:
{"to_add":"","to_remove":"54-0562-0293"}
Response code:
Standard HTTP response code, treating syntactic errors
Response data:
N/A
4.2.3.8 Door Lock Activation
Send a request to activate the door lock for a selected
. Make sure that
2N IP intercom
the
serial number is in the list of added devices.
2N IP intercom
URL:
https://<IP>/api/v1/door?action=open&serial=<string>&switchid=<integer>
HTTP method:
GET
Request body:
N/A
Response code:
Standard HTTP response code, treating syntactic errors
Response data:
{"data":{"success":true}}
4.2.3.9 2N® IP Mobile Minimisation
Send the
application to the background (displaying the
2N IP Mobile
®
2N Indoor
®
launcher).
Touch
URL:
https://<IP>/api/v1/hipm?action=minimize
HTTP method:
GET