_getCarLogBook4
(API version 2.0)WDS_LogBook2Item[] _getCarLogBook4 ( 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)
clone _getCarLogBook2 which does not round the style of the route into the interval 1-5
Categories
Parameters
- string kodf
- company code
- string username
- user name
- string pass
- password
- int carid
- vehicle ID
- string casod
- time from (local time) (dd.mm.YYYY HH:mm:ss) maximum 60 days
- string casdo
- time to (local time) (dd.mm.YYYY HH:mm:ss) maximum 60 days
Return value
-
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
-
string
SuperiorApprovedBy
Superior user name who approved trip
-
string
SuperiorApprovedDate
Superior date of approved trip
-
string
Dt_from
Examples
API version 2.0
$client = new SoapClient('https://api.webdispecink.cz/code/WebDispecinkServiceNet.php?wsdl'); $return = $client->_getCarLogBook4($kodf, $username, $pass, $carid, $casod, $casdo);
Test
To test the function, enter parameters in form below and press Try it out button.