_getBookLast

(API version 2.0)

WDS_BookLastItem _getBookLast ( string kodf , string username , string pass , int IdCar )

Description

Function returns data of last vehicle's route.

Categories

Parameters

string kodf
company code
string username
user name
string pass
password
int IdCar
vehicle ID

Return value

WDS_BookLastItem
  • int IdCar

    vehicle identifier

  • int Iddriver

    drive identifier

  • long Id_jizda

    trip identifier

  • string DateE

    end time of the trip

  • string Odo

    odometer at the end of the trip

  • string Place

    destination

  • string Purpose

    purpose

  • float Fuel

    fuel value at the end of the trip

  • int MH

    moto hours value at the end of the trip

  • string Locked

    locked status:
    0 - logbook is unlocked
    1 - logbook is locked

  • int RIns

    route insert rights:
    0 - user is not allowed to insert a new route
    1 - user is allowed to insert a new route

  • int RDel

    route delete rights:
    0 - user is not allowed to delete the route
    1 - user is allowed to delete the route

  • int RIns1

    type of trip:
    0 - business trip
    1 - a private trip

Examples

API version 2.0

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

Test

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

company code
user name
password
vehicle ID

* Required field