_getCarLogBook2

(API version 2.0)

WDS_LogBook2Item[] _getCarLogBook2 ( string kodf , string username , string pass , int carid , string casod , string casdo )

Description

Function return list of the routes for specific time period. - Inputs and outputs - GMT

Categories

Parameters

string kodf
company code
string username
user name
string pass
password
int carid
vehicle's ID
string casod
time from (local time) dd.md.Yyyy Hh:mm:ss, maximum 60 days
string casdo
time to (local time) dd.md.Yyyy Hh:mm:ss, maximum 60 days

Return value

WDS_LogBook2Item[]
  • WDS_LogBook2Item
    • string Dt_from

      date from (GMT)

    • string Dt_to

      date to (GMT)

    • string Mistood

      Specific place where route has started.

    • string Mistodo

      Specific place where route ended.

    • string Ucel

      purpose

    • float Vzdalenost

      route distance in kilometers

    • float Tach_start

      Odometer status - start

    • float Tach_end

      Odometer status - end

    • string Doba_jizdy

      duration time of the route

    • string Doba_stani

      duration time of the stop

    • string Doba_navstevy

      duration time of visitation

    • string Ridic

      driver

    • string Oskod

      personal number

    • int iddriver

      Driver's ID

    • int Druh

      1 - private, 0 - business

    • float Phm

      refueled fuel in litres

    • float Phmcena

      price of fuel in currency of the vehicle

    • float Naklady

      other costs in currency of the vehicle

    • float Phml

      fuel level in tank at the end of the route

    • float Spotreba

      fuel consumption according flowmeter in liters during the route

    • float Spotrebakm

      Average fuel consumption l/km

    • float Spotrebah

      Average fuel consumption litres/hours

    • string Poznamka

      note

    • long Id_jizda

      ID of the route

    • string Doba_stani_jizda

      duration time of the stop during the routes

    • float MaxSpeed

      Maximum driving speed during route in km / h

    • float AvgSpeed

      Average driving speed during route in km / h

    • float MaxRpm

      Maximum engine speed

    • float AvgRpm

      average engine speed

    • string Crew

      crew

    • float Consumption

      Consumption

    • float Price_km

      cost per km

    • float Ew_start

      latitude at the beginning of the route

    • float El_start

      longitude at the beginning of the rout

    • float Ew_end

      latitude at the end of the route

    • float El_end

      longitude at the end of the route

    • string Purpose1

      main purpose

    • string Purpose2

      additional purpose

    • int Idcar

      Vehicle's ID

    • float Style
    • float Mh_start

      Moto odometer status - at the beginnig of the route in seconds

    • float Mh_end

      Moto odometer status - at the end of the route in seconds

    • float Rozdilmh

      differential of the moto odometer

    • string ApprovedBy

      User name who approved trip

    • string ApprovedDate

      Date of approved trip

Examples

API version 2.0

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

Test

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

company code
user name
password
vehicle's ID
time from (local time) dd.md.Yyyy Hh:mm:ss, maximum 60 days
time to (local time) dd.md.Yyyy Hh:mm:ss, maximum 60 days

* Required field