GET | /api/v1/configuration/lanes | Retrieve all lanes settings. |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
IpLanes | body | List<IpLane> | No | List of IP lanes. |
SerialLanes | body | List<SerialLane> | No | List of serial lanes. |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Errors | body | List<ApiError> | No | A list of errors that occurred. |
HasErrors | body | bool | No | Indicates if there are errors. |
Links | body | IEnumerable<ApiLink> | No | A list of resource links |
Logs | body | List<string> | No | A list of log entries detailing what happened during the request. Ideally only used during development or troubleshooting as this can be quite verbose. |
Type | body | string | No | The type of object held in the result. |
Warnings | body | List<ApiWarning> | No | A list of warnings that occurred. |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Ip | body | Ip | No | IP device properties. |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
LaneId | body | int | No | Lane ID for lane setting. |
Description | body | string | No | Description for lane setting. |
InitializeOnStartup | body | string | No | If set to 'true', the lane will initialize when triPOS is started. If set to 'false', the lane will initialize when the first request to this lane is recieved by triPOS. |
TerminalType | body | TerminalTypes? | No | terminal typeAllowable Values
|
Driver | body | DriverTypes? | No | Driver valueAllowable Values
|
IsManualEntryAllowed | body | string | No | If set to 'true' then manual entry of card account numbers on the PIN pad is allowed |
IsContactlessMsdEntryAllowed | body | string | No | If set to 'true' then contactless entry is allowed via the PIN pad. |
TerminalId | body | string | No | Terminal ID of PIN pad. |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Address | body | string | No | IP address of PIN pad if not connected via serial device. |
Port | body | string | No | IP port of PIN pad if not connected via serial device. |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Serial | body | Serial | No | Serial device properties. |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ComPort | body | string | No | Name of serial device to which the PIN pad is attached (e.g. COM1, /dev/tty1, etc). |
DataBits | body | string | No | If the PIN pad is connected via serial device, the data bit setting. |
Parity | body | string | No | If the PIN pad is connected via serial device, the parity setting. |
StopBits | body | StopBitTypes? | No | If the PIN pad is connected via serial device, the stop bits setting: None, One, OnePointFive, Two. Allowable Values
|
Handshake | body | HandshakeTypes? | No | If the PIN pad is connected via serial device, the handshake setting: 'None', 'RequestToSend', 'XonXoff'.Allowable Values
|
BaudRate | body | string | No | Baud rate of serial communications.Allowable Values
|
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/GetLanesConfigurationRequest HTTP/1.1
Host: booking.pufferdayspa.com
Content-Type: application/json
Content-Length: length
{}
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"ipLanes":[{}],"serialLanes":[{}],"_errors":[{"userMessage":"String","developerMessage":"String","errorType":"String","exceptionMessage":"String","exceptionTypeFullName":"String","exceptionTypeShortName":"String"}],"_hasErrors":true,"_links":[{"href":"/api/v1/configuration/lanes/ip","method":"POST","rel":"ipLane"},{"href":"/api/v1/configuration/lanes/serial","method":"POST","rel":"serialLane"},{"href":"/api/v1/configuration/lanes/ip","method":"GET","rel":"ipLanesConfiguration"},{"href":"/api/v1/configuration/lanes/serial","method":"GET","rel":"serialLanesConfiguration"}],"_logs":["String"],"_type":"String","_warnings":[{"developerMessage":"String","userMessage":"String"}]}