GetTruckStopPrices
SOAP 1.1
Version
Version 1.0, Basic, Standard, Enterprise
Method Signature
TruckStop[] GetTruckStopPrices(Credentials c)
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
Example Code
POST /Webservices/v1/PRIMEEnterpriseV1.asmx HTTP/1.1
Host: prime.promiles.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://promiles.com/GetTruckStopPrices"
<?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>
<GetTruckStopPrices xmlns="http://promiles.com/">
<c>
<Username>string</Username>
<Password>string</Password>
<CompanyCode>string</CompanyCode>
</c>
</GetTruckStopPrices>
</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>
<GetTruckStopPricesResponse xmlns="http://promiles.com/">
<GetTruckStopPricesResult>
<TruckStop>
<ProMilesTSID>int</ProMilesTSID>
<OpisID>int</OpisID>
<Name>string</Name>
<State>string</State>
<City>string</City>
<Location>string</Location>
<DistanceFromOrigin>decimal</DistanceFromOrigin>
<DistanceOOR>decimal</DistanceOOR>
<RetailPrice>decimal</RetailPrice>
<CostPrice>decimal</CostPrice>
<PriceDate>dateTime</PriceDate>
<Latitude>decimal</Latitude>
<Longitude>decimal</Longitude>
</TruckStop>
<TruckStop>
<ProMilesTSID>int</ProMilesTSID>
<OpisID>int</OpisID>
<Name>string</Name>
<State>string</State>
<City>string</City>
<Location>string</Location>
<DistanceFromOrigin>decimal</DistanceFromOrigin>
<DistanceOOR>decimal</DistanceOOR>
<RetailPrice>decimal</RetailPrice>
<CostPrice>decimal</CostPrice>
<PriceDate>dateTime</PriceDate>
<Latitude>decimal</Latitude>
<Longitude>decimal</Longitude>
</TruckStop>
</GetTruckStopPricesResult>
</GetTruckStopPricesResponse>
</soap:Body>
</soap:Envelope>