TerminalInformationService
Click here for a complete list of operations.
GetTerminalInformation
Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /1.0.3/TerminalInformationService.asmx HTTP/1.1 Host: api.rlcarriers.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://www.rlcarriers.com/GetTerminalInformation" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <GetTerminalInformation xmlns="http://www.rlcarriers.com/"> <APIKey>string</APIKey> <ZipCode>string</ZipCode> <CountryCode>string</CountryCode> <CustomerData>string</CustomerData> </GetTerminalInformation> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <GetTerminalInformationResponse xmlns="http://www.rlcarriers.com/"> <GetTerminalInformationResult> <Result> <TerminalInfo> <TerminalDetails xsi:nil="true" xmlns="http://tempuri.org/" /> <TerminalPhoneNumbers xsi:nil="true" xmlns="http://tempuri.org/" /> </TerminalInfo> <TerminalInfo> <TerminalDetails xsi:nil="true" xmlns="http://tempuri.org/" /> <TerminalPhoneNumbers xsi:nil="true" xmlns="http://tempuri.org/" /> </TerminalInfo> </Result> </GetTerminalInformationResult> </GetTerminalInformationResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /1.0.3/TerminalInformationService.asmx HTTP/1.1 Host: api.rlcarriers.com Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <GetTerminalInformation xmlns="http://www.rlcarriers.com/"> <APIKey>string</APIKey> <ZipCode>string</ZipCode> <CountryCode>string</CountryCode> <CustomerData>string</CustomerData> </GetTerminalInformation> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <GetTerminalInformationResponse xmlns="http://www.rlcarriers.com/"> <GetTerminalInformationResult> <Result> <TerminalInfo> <TerminalDetails xsi:nil="true" xmlns="http://tempuri.org/" /> <TerminalPhoneNumbers xsi:nil="true" xmlns="http://tempuri.org/" /> </TerminalInfo> <TerminalInfo> <TerminalDetails xsi:nil="true" xmlns="http://tempuri.org/" /> <TerminalPhoneNumbers xsi:nil="true" xmlns="http://tempuri.org/" /> </TerminalInfo> </Result> </GetTerminalInformationResult> </GetTerminalInformationResponse> </soap12:Body> </soap12:Envelope>
HTTP GET
The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.
GET /1.0.3/TerminalInformationService.asmx/GetTerminalInformation?APIKey=string&ZipCode=string&CountryCode=string&CustomerData=string HTTP/1.1 Host: api.rlcarriers.com
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <TerminalInformationReply xmlns="http://www.rlcarriers.com/"> <Result> <TerminalInfo> <TerminalDetails xmlns="http://tempuri.org/"> <TerminalDetailID>int</TerminalDetailID> <TerminalLocationID>int</TerminalLocationID> <TerminalLocationName>string</TerminalLocationName> <TerminalName>string</TerminalName> <TerminalType>string</TerminalType> <TerminalCode>string</TerminalCode> <TerminalMailingAddress1>string</TerminalMailingAddress1> <TerminalMailingAddress2>string</TerminalMailingAddress2> <TerminalMailingCity>string</TerminalMailingCity> <TerminalMailingState>string</TerminalMailingState> <TerminalMailingZip>string</TerminalMailingZip> <TerminalMailingCountry>string</TerminalMailingCountry> <DateCreated>dateTime</DateCreated> </TerminalDetails> <TerminalPhoneNumbers xmlns="http://tempuri.org/"> <TerminalPhone d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <TerminalPhone d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> </TerminalPhoneNumbers> </TerminalInfo> <TerminalInfo> <TerminalDetails xmlns="http://tempuri.org/"> <TerminalDetailID>int</TerminalDetailID> <TerminalLocationID>int</TerminalLocationID> <TerminalLocationName>string</TerminalLocationName> <TerminalName>string</TerminalName> <TerminalType>string</TerminalType> <TerminalCode>string</TerminalCode> <TerminalMailingAddress1>string</TerminalMailingAddress1> <TerminalMailingAddress2>string</TerminalMailingAddress2> <TerminalMailingCity>string</TerminalMailingCity> <TerminalMailingState>string</TerminalMailingState> <TerminalMailingZip>string</TerminalMailingZip> <TerminalMailingCountry>string</TerminalMailingCountry> <DateCreated>dateTime</DateCreated> </TerminalDetails> <TerminalPhoneNumbers xmlns="http://tempuri.org/"> <TerminalPhone d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <TerminalPhone d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> </TerminalPhoneNumbers> </TerminalInfo> </Result> </TerminalInformationReply>
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /1.0.3/TerminalInformationService.asmx/GetTerminalInformation HTTP/1.1 Host: api.rlcarriers.com Content-Type: application/x-www-form-urlencoded Content-Length: length APIKey=string&ZipCode=string&CountryCode=string&CustomerData=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <TerminalInformationReply xmlns="http://www.rlcarriers.com/"> <Result> <TerminalInfo> <TerminalDetails xmlns="http://tempuri.org/"> <TerminalDetailID>int</TerminalDetailID> <TerminalLocationID>int</TerminalLocationID> <TerminalLocationName>string</TerminalLocationName> <TerminalName>string</TerminalName> <TerminalType>string</TerminalType> <TerminalCode>string</TerminalCode> <TerminalMailingAddress1>string</TerminalMailingAddress1> <TerminalMailingAddress2>string</TerminalMailingAddress2> <TerminalMailingCity>string</TerminalMailingCity> <TerminalMailingState>string</TerminalMailingState> <TerminalMailingZip>string</TerminalMailingZip> <TerminalMailingCountry>string</TerminalMailingCountry> <DateCreated>dateTime</DateCreated> </TerminalDetails> <TerminalPhoneNumbers xmlns="http://tempuri.org/"> <TerminalPhone d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <TerminalPhone d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> </TerminalPhoneNumbers> </TerminalInfo> <TerminalInfo> <TerminalDetails xmlns="http://tempuri.org/"> <TerminalDetailID>int</TerminalDetailID> <TerminalLocationID>int</TerminalLocationID> <TerminalLocationName>string</TerminalLocationName> <TerminalName>string</TerminalName> <TerminalType>string</TerminalType> <TerminalCode>string</TerminalCode> <TerminalMailingAddress1>string</TerminalMailingAddress1> <TerminalMailingAddress2>string</TerminalMailingAddress2> <TerminalMailingCity>string</TerminalMailingCity> <TerminalMailingState>string</TerminalMailingState> <TerminalMailingZip>string</TerminalMailingZip> <TerminalMailingCountry>string</TerminalMailingCountry> <DateCreated>dateTime</DateCreated> </TerminalDetails> <TerminalPhoneNumbers xmlns="http://tempuri.org/"> <TerminalPhone d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> <TerminalPhone d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> </TerminalPhoneNumbers> </TerminalInfo> </Result> </TerminalInformationReply>