_getFuelPrice

(API version 2.0)

WDS_FuelPriceItem[] _getFuelPrice ( string kodf , string username , string pass , string DateFrom , string DateTo )

Description

The function returns the average prices of the fuel

Categories

Tags

Parameters

string kodf
Company login code
string username
Login username
string pass
Login password
string DateFrom
start date of the record validity - start of the time window in the format YYYY-MM-DD nebo d.m.Y
string DateTo
record start date - end of time window in format YYYY-MM-DD nebo d.m.Y

Return value

WDS_FuelPriceItem[]
  • WDS_FuelPriceItem
    • string TypP

      Fuel Type Text - Natural, Diesel, CNG, ...

    • string Datum

      Valid from - in format d.m.Y

    • float Cenabezdph

      Average price excluding VAT

    • float Dph_procent

      percent VAT rate

    • float Dph

      VAT

    • float Cenasdph

      price with VAT

    • int Id

      ID record

Examples

API version 2.0

$client = new SoapClient('https://api.webdispecink.cz/code/WebDispecinkServiceNet.php?wsdl');
$return = $client->_getFuelPrice($kodf, $username, $pass, $DateFrom, $DateTo);

Test

To test the function, enter parameters in form below and press Try it out button.

Company login code
Login username
Login password
start date of the record validity - start of the time window in the format YYYY-MM-DD nebo d.m.Y
record start date - end of time window in format YYYY-MM-DD nebo d.m.Y

* Required field