GetTodaysCanadianDieselAverage - SOAP 1.2 V1

GetTodaysCanadianDieselAverage

SOAP 1.2

Version

Version 1.0, Basic, Standard, Enterprise

Method Signature

Decimal GetTodaysCanadianDieselAverage(Credentials c)

The following is a sample SOAP 1.2 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: 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>
    <GetTodaysCanadianDieselAverage xmlns="http://promiles.com/">
      <c>
        <Username>string</Username>
        <Password>string</Password>
        <CompanyCode>string</CompanyCode>
      </c>
    </GetTodaysCanadianDieselAverage>
  </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>
    <GetTodaysCanadianDieselAverageResponse xmlns="http://promiles.com/">
      <GetTodaysCanadianDieselAverageResult>decimal</GetTodaysCanadianDieselAverageResult>
    </GetTodaysCanadianDieselAverageResponse>
  </soap12:Body>
</soap12:Envelope>

Related

GetAverageDieselPriceInStateGetTodaysUSDieselAverageGetTruckStopPrices