User Tools

Site Tools


api:rest:gpi_board

GPI Board (REST API)

Query to retrieve the latest GPI event, returns an XML-document.

GET http://<IP_ADDR>:7901/gpi?module_id=<N>

Parameter description:

  • GET – HTTP GET query.
  • <IP_ADDR> – server IP address.
  • module_id – GPI_Board service sequence number (starts with 1).

Example of a query to the server:

http://localhost:7901/gpi?module_id=2

Example of the server response to GPI Board System/HotKey:

| response_gpi.xml
<GPI ReceivedTime="2018-03-28T14:00:42.904">
	<Attr name="last_key">Alt+F1</Attr>
</GPI>
api/rest/gpi_board.txt · Last modified: 2023/06/26 14:09 by Victory Gorshkova

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

Copyright © 2009-2025 Skylark Technology Inc.