POST api/machines/{machineID}/assignReader?regCode={regCode}
Report that a particular reader was assigned to a machine.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
machineID |
The machineID of the machine to which the reader was assigned. |
string |
Required |
regCode |
The registration code assigned to the tablet. Contained in RegistrationToken returned by "RequestRegistrationToken" |
string |
None. |
Body Parameters
The identify (bluetooth address ) of the reader that was assigned to the machine.
ReaderTagName | Description | Type | Additional information |
---|---|---|---|
BluetoothAddress |
The Bluetooth Address of the reader in hex string format (e.g. 44C9A2000001 ) |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "BluetoothAddress": "sample string 1" }
text/html
Sample:
{"BluetoothAddress":"sample string 1"}
application/xml, text/xml
Sample:
<ReaderTag xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GI.Tablet.Interface"> <BluetoothAddress>sample string 1</BluetoothAddress> </ReaderTag>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Report that a particular reader was assigned to a machine.
None.