GET | /api/v1/configuration/lanes/serial/{laneId} | Retrieve specific serial lane settings. |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
LaneId | path | int | Yes | The lane ID. |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Serial | body | Serial | No | Serial device properties. |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /json/reply/GetSerialLaneRequest HTTP/1.1
Host: booking.pufferdayspa.com
Content-Type: application/json
Content-Length: length
{"laneId":0}
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"serial":{"comPort":"String","dataBits":"String","parity":"String","stopBits":"None","handshake":"None","baudRate":"String"},"laneId":0,"description":"String","initializeOnStartup":"String","terminalType":"Unknown","driver":"Null","isManualEntryAllowed":"String","isContactlessMsdEntryAllowed":"String","terminalId":"String","_errors":[{"userMessage":"String","developerMessage":"String","errorType":"String","exceptionMessage":"String","exceptionTypeFullName":"String","exceptionTypeShortName":"String"}],"_hasErrors":true,"_links":[{"href":"/api/v1/configuration/lanes/serial/0","method":"GET","rel":"serialLane"},{"href":"/api/v1/configuration/lanes/serial/0","method":"PUT","rel":"serialLane"},{"href":"/api/v1/configuration/lanes/serial/0","method":"DELETE","rel":"serialLane"}],"_logs":["String"],"_type":"String","_warnings":[{"developerMessage":"String","userMessage":"String"}]}