Encounter Kiosk API
This API allows third-party devices to send orders to a point-of-sale (POS) terminal, such as an Encounter Kiosk. The POS Terminals embed a socket server listening on Port 3000 for 6.x Version POS and Port 3015 for 7.x Version POS.
The device must connect to the port and send a valid XML request in 10 seconds, otherwise it is automatically disconnected. The format of the request is valid, strict Extensible Markup Language (XML).
The root element of the document must be POSRequest, and every POSRequest must have a valid action, terminal, and vendor attributes. Depending on the action, additional properties must be valued such as the insert number. reference is optional and can be a KIOSK-generated reference number.
Note
The vendor attribute is not strictly checked but must be present. For example, vendor="Kiosk" is valid.
POSRequest Sample Code
<?xml version="1.0"?> <!DOCTYPE pos > <POSRequest action="ACTION" terminal="50" vendor="Kiosk" insert="0" reference="123456"> </POSRequest>
For additional information about the Encounter POS Kiosk API, see the following topics:
Encounter POS Kiosk: Getting Started - Tips and steps for setting up a successful kiosk interface.
POSRequest - Descriptions of the POSRequest and POSResponse structures.
POSRequest Actions - Descriptions and examples of the actions, elements, and attributes of POSRequest.