_getCarCondition

(API version 2.0)

WDS_CarConditionItem[] _getCarCondition ( string kodf , string username , string pass , string carid_list )

Description

Return cars condition.
Carsharing or Electromobility service is needed.

Categories

Parameters

string kodf
Company code
string username
Login username
string pass
Login password
string carid_list
cars ids delimitered by comma

Return value

WDS_CarConditionItem[]
  • WDS_CarConditionItem
    • int idcar

      car id

    • string dateStatus

      UTC date

    • float fuelLitre

      state of tank in litres

    • float fuelPercentage

      state of tank in percentage

    • float stateofChargeKwh

      state of charge in kWh

    • float stateOfChargePercentage

      state of charge in percentage

    • int type

      1 .. bus
      2 .. electromobile
      3 .. motorcycle
      4 .. lorry
      5 .. semi-trailer
      6 .. passanger
      7 .. trailer
      8 .. special vehicle
      9 .. building machine
      10 .. inert sprayer
      11 .. chemical spreyer
      12 .. technological vehicle
      13 .. tractor
      14 .. special vehicle
      15 .. forklift
      16 .. delivery van
      17 .. ambulance
      18 .. passanger medium
      19 .. passanger large
      20 .. cargo truck small
      21 .. cargo truck medium
      22 .. cargo truck big
      23 .. hybrid
      24 .. plug-in hybrid

    • string errorMessage

      Error message

    • int isChargerConnected

      0 .. charger is not connected
      1 .. charger is connected

    • int isChargingInProgress

      0 .. not charging
      1 .. charging in progress

    • float timeTo80Charge

      time to 80% charge [minutes]

    • float timeToFullCharge

      time to full charge [minutes]

    • float estimatedRangeKmFuel

      estimated range in km per tank

    • float estimatedRangeKmBattery

      estimated range in km per battery

    • float odometerKm

      state of odometer in km

    • int directReading

      0 .. data from the log book
      1 .. direct reading from the car

    • float batteryMaxCapacityKwh

      Battery capacity in kWh

    • int fuelMaxCapacityLitre

      Fuel tank kapacity in litres

Examples

API version 2.0

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

Test

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

Company code
Login username
Login password
cars ids delimitered by comma

* Required field