Transit Time Web Service

Estes provides a SOAP-based web service for retrieving transit times.


WSDL

The WSDL for the web service can be accessed at the following URL:
http://www.estes-express.com/transittime/services/TransitTimeService?wsdl

The WSDL describes the valid operations for the web service.


SCHEMAS

The schemas used in the WSDL can be accessed at the links below:

http://www.estes-express.com/transittime/services/TransitTimeService?xsd=serviceRequest.xsd

http://www.estes-express.com/transittime/services/TransitTimeService?xsd=serviceResponse.xsd

http://www.estes-express.com/transittime/services/TransitTimeService?xsd=transitTimeCommon.xsd

To retrieve a transit time, simply pass the information for both the origin and destination point as defined in the schema.

*You need a My Estes account to  retrieve transit times.

Return to API Overview Page


SAMPLE CODE

Echo Request

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tran="http://ws.estesexpress.com/transittime">
<soapenv:Header/>
<soapenv:Body>
<tran:echoRequest>20111220-1541</tran:echoRequest>
</soapenv:Body>
</soapenv:Envelope>

Echo Response

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<echoResponse xmlns="http://ws.estesexpress.com/transittime">20111220-1541</echoResponse>
</soapenv:Body>
</soapenv:Envelope>

Calculate Request

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tran="http://ws.estesexpress.com/transittime" xmlns:tran1="http://ws.estesexpress.com/schema/transittime">
<soapenv:Header>
<tran:auth>
<tran:user>username</tran:user>
<tran:password>password</tran:password>
</tran:auth>
</soapenv:Header>
<soapenv:Body>
<tran1:serviceRequest>
<tran1:requestID>20111222-001</tran1:requestID>
<tran1:version>
<tran1:versionNumber>1.1</tran1:versionNumber>
</tran1:version>
<tran1:originPoint>
<tran1:postalCode>23226</tran1:postalCode>
<tran1:city>Richmond</tran1:city>
<tran1:stateProvince>Va</tran1:stateProvince>
<tran1:countryCode>US</tran1:countryCode>
</tran1:originPoint>
<tran1:destinationPoint>
<tran1:postalCode>24060</tran1:postalCode>
<tran1:city>Blacksburg</tran1:city>
<tran1:stateProvince>Va</tran1:stateProvince>
<tran1:countryCode>US</tran1:countryCode>
</tran1:destinationPoint>
<tran1:shipDate>2011-12-23</tran1:shipDate>
</tran1:serviceRequest>
</soapenv:Body>
</soapenv:Envelope>

Calculate Response

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<serviceResult xmlns="http://ws.estesexpress.com/schema/transittime">
<requestID>20111222-001</requestID>
<transitTimes>
<count>1</count>
<transitTimeList>
<transitTime>
<originTerminal>
<number>1</number>
<name>RICHMOND</name>
<address>
<line1>1200 COMMERCE ROAD</line1>
<line2/>
<city>RICHMOND</city>
<stateProvince>VA</stateProvince>
<postalCode>23224</postalCode>
<countryCode>US</countryCode>
</address>
<phone>
<country>1</country>
<areaCode>804</areaCode>
<subscriber>2336900</subscriber>
</phone>
<fax>
<country>1</country>
<areaCode>804</areaCode>
<subscriber>2313349</subscriber>
</fax>
</originTerminal>
<originPoint>
<postalCode>23226</postalCode>
<city>RICHMOND</city>
<stateProvince>VA</stateProvince>
<countryCode>US</countryCode>
</originPoint>
<destinationTerminal>
<number>14</number>
<name>PULASKI</name>
<address>
<line1>5984 EAST LEE HIGHWAY</line1>
<line2/>
<city>DRAPER</city>
<stateProvince>VA</stateProvince>
<postalCode>24324</postalCode>
<countryCode>US</countryCode>
</address>
<phone>
<country>1</country>
<areaCode>276</areaCode>
<subscriber>6374437</subscriber>
</phone>
<fax>
<country>1</country>
<areaCode>276</areaCode>
<subscriber>6376241</subscriber>
</fax>
</destinationTerminal>
<destinationPoint>
<postalCode>24060</postalCode>
<city>BLACKSBURG</city>
<stateProvince>VA</stateProvince>
<countryCode>US</countryCode>
</destinationPoint>
<serviceDays>1</serviceDays>
<messages>
<count>1</count>
<messageList>
<message>
<code>1</code>
<verbiage>Service Standard: 1</verbiage>
</message>
</messageList>
</messages>
</transitTime>
</transitTimeList>
</transitTimes>
</serviceResult>
</soapenv:Body>
</soapenv:Envelope>