_getCarConsumption2

(API version 2.0)

WDS_CarConsuption2Item _getCarConsumption2 ( 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_CarConsuption2Item
  • int IdCar
  • string CarCode
  • string CarCentre
  • string CarDivision
  • string DriverCode
  • string DriverCentre
  • string DriverDivision
  • float FuelCard
  • float FuelCardTax
  • float FuelCardTotal
  • float FuelOther
  • float FuelOtherTax
  • float FuelOtherTotal
  • float OtherCard
  • float OtherCardTax
  • float OtherCardTotal
  • float OtherOther
  • float OtherOtherTax
  • float OtherOtherTotal
  • float FuelCons
  • float FuelConsTax
  • float FuelConsTotal
  • float PrivateCons
  • float PrivateConsTax
  • float PrivateConsTotal
  • float BusinessCons
  • float BusinessConsTax
  • float BusinessConsTotal
  • float BusinessConsNorm
  • float BusinessConsNormTax
  • float BusinessConsNormTotal
  • float TaxableCost
  • float TaxableCostTax
  • float TaxableCostTotal
  • float UntaxableCost
  • float UntaxableCostTax
  • float UntaxableCostTotal

Examples

API version 2.0

$client = new SoapClient('https://api.webdispecink.cz/code/WebDispecinkServiceNet.php?wsdl');
$return = $client->_getCarConsumption2($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