GetQuickMiles - SOAP V4.2

GetQuickMiles

Version

Version 4.2

Method Signature

Decimal GetQuickMiles(Credentials c, string Origin, string Destination)

The following is a sample SOAP request and response. The placeholders shown need to be replaced with actual values.

Example Code


        <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:com="http://schemas.datacontract.org/2004/07/com.promiles.PRIME.v4_2.Core">
    <soapenv:Header/>
    <soapenv:Body>
        <GetQuickMiles>
            <c>
            <com:CompanyCode>YOUR_COMPANY_CODE</com:CompanyCode>
            <com:Password>YOUR_PASSWORD</com:Password>
            <com:Username>YOUR_USERNAME</com:Username>
            </c>
            <Origin>Bridge City TX</Origin>
            <Destination>66061</Destination>
        </GetQuickMiles>
    </soapenv:Body>
</soapenv:Envelope>


        <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
    <s:Body>
        <GetQuickMilesResponse>
            <GetQuickMilesResult>712.90</GetQuickMilesResult>
        </GetQuickMilesResponse>
    </s:Body>
</s:Envelope>

Related

SimpleTripCredentialsTripLegVehicleTypeRouteMethod