Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 2 Current »

This interface was moved from /rest/demo to its own path and augmented in version 1.2.

URL

http://<<ip address>>/rest/cabinet/scanner

Method

PUT

Description

Sets the scanner serial number to connect to. After a restart, the cabinet will try to connect to this GeneralScan scanner in HID mode.

Request

{
    "serial": «scanner serial number»
}

Response

HTTP204 when successful

Possible Errors

HTTP400 when request is invalid

Status

IMPLEMENTED

URL

http://<<ip address>>/rest/cabinet/scanner

Method

GET

Description

Gets the scanner serial number the cabinet connects to.

Response

{
    "serial": «scanner serial number»,
    "mac": «scanner MAC address (if available)»
}

Status

IMPLEMENTED

  • No labels