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 .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /xml/reply/GetLanesConfigurationRequest HTTP/1.1
Host: booking.pufferdayspa.com
Content-Type: application/xml
Content-Length: length
<getLanesConfigurationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://tripos.vantiv.com/2014/09/TriPos.Api" />
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <getLanesConfigurationResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://tripos.vantiv.com/2014/09/TriPos.Api"> <_errors> <error> <developerMessage>String</developerMessage> <errorType>String</errorType> <exceptionMessage>String</exceptionMessage> <exceptionTypeFullName>String</exceptionTypeFullName> <exceptionTypeShortName>String</exceptionTypeShortName> <userMessage>String</userMessage> </error> </_errors> <_hasErrors>true</_hasErrors> <_links> <link> <href>/api/v1/configuration/lanes/ip</href> <method>POST</method> <rel>ipLane</rel> </link> <link> <href>/api/v1/configuration/lanes/serial</href> <method>POST</method> <rel>serialLane</rel> </link> <link> <href>/api/v1/configuration/lanes/ip</href> <method>GET</method> <rel>ipLanesConfiguration</rel> </link> <link> <href>/api/v1/configuration/lanes/serial</href> <method>GET</method> <rel>serialLanesConfiguration</rel> </link> </_links> <_logs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>String</d2p1:string> </_logs> <_type>String</_type> <_warnings> <warning> <developerMessage>String</developerMessage> <userMessage>String</userMessage> </warning> </_warnings> <ipLanes> <ipLane i:nil="true" /> </ipLanes> <serialLanes> <serialLane i:nil="true" /> </serialLanes> </getLanesConfigurationResponse>