_getNextIdjizda

(API version 2.0)

WDS_LogBook2Item[] _getNextIdjizda ( string kodf , string username , string pass , long idjizda )

Description

Function return routes according to user rights for previous 3 days. Suitable for the progressive download of the log book.

Function doesn't return correct values for following strings:

string Doba_stani
string Doba_navstevy
float Tach_start
float Ew_start
float El_start

For these strings you have to call specific vehicle.

Categories

Parameters

string kodf
company code
string username
user name
string pass
password
long idjizda
route ID

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->_getNextIdjizda($kodf, $username, $pass, $idjizda);

Test

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

company code
user name
password
route ID

* Required field