_getCarLogBookSP
(API version 2.0)WDS_LogBookItem[] _getCarLogBookSP ( string kodf , string username , string pass , string vin , string casod , string casdo )
Description
Function return list of the routes for specific time period, vehicle is paired according to the VIN code.
Categories
Parameters
- string kodf
- company code
- string username
- user name
- string pass
- password
- string vin
- vehicle VIN
- 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_LogBookItem
-
string
Den
date day
-
string
Weekday
week day
-
string
Casod
time from (local time)
-
string
Casdo
time to (local time)
-
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
Vzdal_mesto
route distance in city 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
-
string
Firma
visited company
-
string
Firmakod
company code
-
string
Jina_firma
other company
-
string
Klasif
Company classification
-
string
Firmatyp
type of company
-
string
Firma_kod
code
-
string
Interakce
interaction
-
int
Mh_start
Moto odometer status - at the beginnig of the route in seconds
-
int
Mh_end
Moto odometer status - at the end of the route in seconds
-
int
Rozdilmh
differential of the moto odometer
-
long
Id_jizda
ID of the route
-
string
Doba_stani_jizda
duration time of the stop during the routes
-
string
Vlastni_mista
visited own places
-
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
-
float
Village_road
routes on village roads in km
-
float
Road_Class1
routes on 1st Class roads in km
-
float
Road_Class2
routes on 2nd Class roads in km
-
float
Road_Class3
routes on 3rd Class roads in km
-
string
NumRoutes
Road number
-
float
Temperature
Temperature
-
string
Crew
crew
-
float
Consumption
Consumption
-
float
Price_km
cost per km
-
float
Amortization_km
amortization per km
-
float
Amortization
amortization per private km
-
float
Ew_start
latitude at the beginning of the route
-
float
El_start
longitude at the beginning of the route
-
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
-
int
Prace_start
moto odometer work - status at the beginning of the route
-
int
Prace_end
moto odometer work - status at the end of the route
-
int
RozdilPrace
moto odometer work - differential
-
float
SpotrebaPrace
Consumption during work
-
int
Nalozeno
loaded
-
string
Navesy
semitrailer
-
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
Den
Examples
API version 2.0
$client = new SoapClient('https://api.webdispecink.cz/code/WebDispecinkServiceNet.php?wsdl'); $return = $client->_getCarLogBookSP($kodf, $username, $pass, $vin, $casod, $casdo);
Test
To test the function, enter parameters in form below and press Try it out button.