_getFuelStatus

(API version 2.0)

WDS_FuelStItem[] _getFuelStatus ( string kodf , string username , string pass , int IdCar , string DateFrom , string DateTo )

Description

The function returns fuel statistics

Categories

Parameters

string kodf
Company login code
string username
Login username
string pass
Login password
int IdCar
Vehicle Identifier
string DateFrom
Start of the time window (GMT)
string DateTo
End of the time window (GMT). Warning: WARNING: There is a lot of data, Enter the time range only in days.

Return value

WDS_FuelStItem[]
  • WDS_FuelStItem
    • int IdCar

      Vehicle Identifier

    • string Date

      Date [GMT]

    • float Fuel

      State fuel in tank [litry]

    • float Permi

      Permittivity / only for some types of probes

    • float Temp

      Temperature / only for some types of probes

    • float Cng

      State of CNG / secondary fuel in the tank

    • int Type

      Type of fuel / only for some vehicles
      0, -1 - no data
      1 - gasoline
      4 - diesel
      5 - LPG
      6 - CNG
      8 - electricity
       
        9 - gasoline - bifuel running - for two fuels
      12 - LPG - bifuel running - for two fuels
      13 - CNG - bifuel running - for two fuels
      15 - electricity - bifuel running - for two fuels

Examples

API version 2.0

$client = new SoapClient('https://api.webdispecink.cz/code/WebDispecinkServiceNet.php?wsdl');
$return = $client->_getFuelStatus($kodf, $username, $pass, $IdCar, $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
Vehicle Identifier
Start of the time window (GMT)
End of the time window (GMT). Warning: WARNING: There is a lot of data, Enter the time range only in days.

* Required field