_getCarConsumptionDetails

(API version 2.0)

WDS_CarConsumptionDetailItem[] _getCarConsumptionDetails ( string kodf , string username , string pass , string idcars , string date )

Description

The function returns data from FMS consumption statistics

Categories

Parameters

string kodf
Company code
string username
Login username
string pass
Login password
string idcars
vehicle ID list separated by commas (e.g. "8,45,214") the maximum number of vehicles in one call is 100
string date
date (format YYYY-mm-dd)

Return value

WDS_CarConsumptionDetailItem[]
  • WDS_CarConsumptionDetailItem
    • int IdCar

      vehicle identifier

    • string Date

      Date

    • int Time

      Time

    • float TotalDistanceKm

      Total distance

    • float Distance

      Distance

    • float TotalConsumption

      Total Consumption

    • float Consumption_l

      Consumption (l)

    • float Consumption_h

      Consumption (l/h)

    • float Consumption_km

      Consumption (l/100km)

    • float Fuel

      Fuel (l)

    • float FuelConsumption

      Consumption according to fuel level

    • float CurrentConsumption

      Current consumption (l)

Examples

API version 2.0

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

Test

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

Company code
Login username
Login password
vehicle ID list separated by commas (e.g. "8,45,214") the maximum number of vehicles in one call is 100
date (format YYYY-mm-dd)

* Required field