I167F-1121
Mesures
Lecture des mesures au format XML (GET)
http://<ip_station>/lns_api/LnsWS.php?date_debut=JJMMAAAAHHmm&date_fin=JJMMAAAAHHmm&format=XML
Réponse: flux XML des mesures
Lecture des mesures au format CSV (GET)
http://<ip_station>/lns_api/LnsWS.php?date_debut=JJMMAAAAHHmm&date_fin=JJMMAAAAHHmm&format=CSV
Réponse: fichier CSV
Lecture des mesures au format DP (GET)
http://<ip_station>/lns_api/LnsWS.php?date_debut=JJMMAAAAHHmm&date_fin=JJMMAAAAHHmm&format=DP
Réponse: Fichier DP
Lecture des mesures instantanées (GET)
http://<ip_station>/lns_api/LnsWS.php?param=mesures_instantanees
Réponse: Flux XML des mesures instantanées
Information et configuration
Lecture de l'identification et de l'état de la station (GET)
http://<ip_station>/lns_api/LnsWS.php?param=etat
Réponse: Flux XML des mesures (Identification et état uniquement)
Lecture du fichier journal & logs station (GET)
http://<ip_station>/lns_api/LnsWS.php?param=journal&date_debut=JJMMAAAAHHmm&date_fin=JJMMAAAAHHmm
Réponse:
Flux XML des évènements
Commandes
Acquitte toutes les alarmes PLQ (GET)
http://<ip_station>/lns_api/LnsWS.php?param=acquittement
Réponse: OK ou ERREUR
Déclenchement d'une photo (GET)
Requête :
http://<ip_station>/api/WS.php?param=photo&type_camera=xxxx&no_camera=xx
Type camera = webcam | http | onvif | digital_cam
No camera = 0 pour la première
Exemple :
http://<ip_station>/api/WS.php?param=photo&type_camera=onvif&no_camera=0
Réponse : OK ou ERREUR
Déclenchement d'une vidéo (GET)
Requête :
http://<ip_station>/api/WS.php?param=video&type_camera=xxxx&no_camera=xx
Type camera = webcam | http | onvif | digital_cam
No camera = 0 pour la première
Exemple :
http://<ip_station>/api/WS.php?param=video&type_camera=onvif&no_camera=0
Réponse : OK ou ERREUR
Envoi commande http (GET)
http://<ip_station>/lns_api/LnsWS.php?param=http&valeur=xxx
Réponse: OK ou ERREUR
Activation du mode alarme (GET)
http://<ip_station>/lns_api/LnsWS.php?param=forcage&valeur=on
Réponse: OK ou ERREUR
149/152
PARATRONIC - Rue des Genêts - Zone Industrielle - 01600 REYRIEUX - FRANCE
Tel: +33 (0)4 74 00 12 70 – Fax: +33 (0)4 74 00 02 42 - E-mail: info@paratronic.fr - WEB: http://www.paratronic.fr