AdvanGo POS API

Introduction

In order to be fully functional to the customer an AdvanGo requires a separate screen/system to interface with the end customer. To ease the integration with the POS system, our AdvanGo offers an API with all the operations neatly under a single section.

Please remember throughout the integration that the system must be in read mode ADVANGO_DYNAMIC and as with the rest of services/read modes AdvanGo is meant to be configured with the device stopped. This read mode was introduced in AdvanNet 2.8.48

Note: all examples are provided using curl assuming no AdvanNet REST authentication because are easier to succinctly incorporate in a written guide, use your favourite HTTP library in the integration.

OPs (all GET)

e.g.:  curl http://:ip/adgo/autosession

Session ops

Session-less reading

Misc

Parameters (GET/PUT)

e.g.:  curl -X PUT http://:ip/adgo/autosession -d "true"

Typical workflows


Session

One thing that sets apart the AdvanGo system from the rest of Keonn systems is that when started, it is stateful. The system session status can be

Here we present examples on how to work with sessions, both with automatic and manual start of session.

Automatic session

Perfect for a hands-free integration with the system. Takes advantage of the movement of tags when dropped into the basket for an easier time reading. Enables seamless experience for the customer


PREREQUISITE: Set autoSession on: curl -X PUT http://:ip/adgo/autosession -d "true"


Manual session

Reduces accidental readings as the system doesn't start RF until told. Requires more involvement from the customer.


PREREQUISITE: Set autoSession off: curl -X PUT http://:ip/adgo/autosession -d "false"


No session

For the times you don't feel like dealing with the session and just want to check what's in the well


PREREQUISITE: Set autoSession off: curl -X PUT http://:ip/adgo/autosession -d "false"

Advanced configuration

throughput

the threshold that triggers autosession can be configured by adding this json to the advanced JSON Conf of the read mode: {"autoSessionThroughput":0.1,"throughput":{"windowTimeMs":1000,"resolutionMs":20,"maxThroughputSec": 500}} the actual value is autoSessionThroughput in tags per second. You can smooth out the value over time by increasing the value windowTimeMs