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:

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>