Documentation for Axxon One 2.0. Documentation for other versions of Axxon One is available too.

Previous page Next page

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

Compare with Current View Page History

« Previous Version 3 Current »

POST http:/IP-address:port/device/di/{id}

  • {id} − sensor id (0, 1, 2, 3).
  • port − HttpListener port.

JSON body:

{"state": "closed"}

where stateopened or closed.

Sample request:

http://127.0.0.1:8080/device/di/0 
{"state": "opened"}
  • No labels