(API version 2.0)

WDS_CarConsuptionItem[] _getCarConsumption ( string kodf , string username , string pass , int IdCar , string DateStart , string DateEnd )


The function returns vehicle consumption.



string kodf
Company login code
string username
Login username
string pass
Login password
int IdCar
Vehicle Identifier
string DateStart
The start of the time window (GMT)
string DateEnd
The end of the time window (GMT)

Return value

  • WDS_CarConsuptionItem
    • int IdCar
    • float Spotreba

      Consumption from costs

    • float SpotrebaTP

      Consumption technical certificate

    • float Mesic_phm

      Used fuel for fueling and fueling periods

    • float Tankovano_phm


    • float Dist_km
    • float Spotreba_prut

      Consumption by the flowmeter

    • float Prum_spotreba_prut

      Average vehicle consumption by the flowmeter

    • float Cena


    • float Start_km
    • float End_km
    • string Spotreba_jednotka

      Unit of average primary fuel consumption

    • float Spotreba_sekundarni

      Consumption of secondary fuel from costs

    • string Spotreba_sekundarni_jednotka

      Unit of average secondary fuel consumption


API version 2.0

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


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

Company login code
Login username
Login password
Vehicle Identifier
The start of the time window (GMT)
The end of the time window (GMT)

* Required field