Please review our user and technical doumentation:

 

REST API Full specification (JSON Format) v 1.0

API Examples

Lets assume that your server has IP: 192.168.1.1 and application is deployed under standard URI /besmart , server is working on standard port TCP 80

Full URL of RESTFull webservice will look like this:

http://192.168.1.1:80/besmart

If you have password authentication enabled to MUST attach to every call a ?p=PASSWORD query string, 

URI (relative to base) METHOD DESCRIPTION
./DASH GET Return home dashboard description in JSON Format

./GPIO/1/on

PUT Force state HIGH on GPIO Port 1
./GPIO/2/off PUT Force state LOW on GPIO Port 2
./GPIO/off PUT Force state LOW ALL GPIO Ports
./GPIO/1 GET Returns  state of GPIO Port 1
./GPIO GET Returs states of ALL GPIO