_getCarConsumption

(API version 2.0)

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

Description

The function returns vehicle consumption.

Categories

Parameters

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[]
  • 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

      Refueling

    • float Dist_km
    • float Spotreba_prut

      Consumption by the flowmeter

    • float Prum_spotreba_prut

      Average vehicle consumption by the flowmeter

    • float Cena

      Price

    • 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

Examples

API version 2.0

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

Test

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