_getCarWorkLogList3
(API version 2.0)WDS_CarWorkLogListItem[] _getCarWorkLogList3 ( string kodf , string username , string pass , string DateFrom , string DateTo [ , string UpdDate ] [ , int WithUnfinished ] )
Description
The function returns toolbar / vehicle operation record review with filter for time changes.
The function returns only the generated vehicle operation record with a condition for the last editing time greater than the UpdDate parameter.
Beware: Functions can repeatedly return multiple editions of vehicle operation record.
Categories
Tags
- vehicle operation record
Parameters
- string kodf
- Company login code
- string username
- Login username
- string pass
- Login password
- string DateFrom
- beginning of time window in local time format dd.mm.YYYY hh:ii:ss
- string DateTo
- end of time window in local time format dd.mm.YYYY hh:ii:ss
- string UpdDate
- time of last change newer than UpdDate, time in Y-m-d H: i: s in local time
- int WithUnfinished
- Including unfinished routes
Return value
-
WDS_CarWorkLogListItem
-
int
IdWorkLogList
Id of generated vehicle operation record
-
int
IdCar
unique vehicle identifier
-
string
TransporNo
Shipping number
-
string
WorkLogListNo
document number
-
int
IdTrailer1
ID Trailer 1
-
int
IdTrailer2
ID Trailer 2
-
string
TName1
name of Trailer 1
-
string
TName2
name of Trailer 2
-
int
IdDriver1
driver ID
-
int
IdDriver2
ID crew 1
-
int
IdDriver3
ID crew 2
-
string
DName1
name of driver
-
string
DName2
name of crew 1
-
string
DName3
name of crew 2
-
int
Status
status
-
string
PlaceFrom
Place from
-
string
PlaceTo
Place to
-
float
OdoStart
start of Speedometer
-
float
OdoEnd
end of Speedometer
-
float
Dist
Driven [km]
-
float
DistFull
Traveling with cargo [km]
-
float
FuelStart
Initial state of fuel [l]
-
float
FuelEnd
The final state of PHM [l]
-
float
FuelBuy
Purchase of fuel [l]
-
float
FuelCons
Purchase of fuel [l]
-
int
IdRoute
ID shipping in getRouteCar
-
string
StopList
List of stops
-
WDS_CarCostsItem[]
List of costs - such as refueling, made in the time window of vehicle operation record
-
WDS_CarCostsItem
-
string
Datum
date (local time)
-
string
Cislo
number
-
string
Zdroj
Source of fuel. One of constants:
0 - Information system
1 - Manually
2 - Card
3 - Home charging
4 - Company charging
5 - Unknown charging
Or source as text string. If constant 3 (Home charging) is entered, VAT is not calculated and Price with VAT = Price without VAT. -
string
Typ
Type
If the type is empty, it is filled with IsFuel. -
string
Popis
description
-
string
Misto
place
-
float
km
kilometres
-
int
mh
moto hours odometer
-
float
Mnozstvi
amount
-
float
Cenamj
price per unit without VAT
-
float
Cenabezdph
total price without VAT
-
float
Dph_procent
percentage VAT rate
-
float
Dph
total price amount of VAT
-
float
Cenacelkem
total price including VAT
-
string
Mena
currency
-
int
carid
vehicle's ID
-
int
IsFuel
1 - fuel
2 - CNG
3 - electricity
0 - other -
int
PaidDriver
Paid by driver 0/1
-
long
IdCost
cost's ID
-
string
Note
note
-
string
User
user name
-
string
Driver
driver
-
string
Supplier
supplier
-
int
IsFull
tanked to the full 0/1
-
int
TankId
petrol station's ID - from own places
-
string
TankSt
petrol station
-
int
TankR
refuel direction:
0 - not specified
1 - ban
4 - only small amount of petrol to drive to allowed petrol station
8 - tank to the full -
int
IdDriver
driver's ID
-
int
Druh_stanice
Type of station.
0 .. public
1 .. corporate
2 .. homemade
3 .. unrecognized
If the entered value is > 3, 3 is entered. -
string
ExternalID
Unique identificator
-
string
Datum
-
WDS_CarCostsItem
-
WDS_DriverWorkLog2Item[]
driver's activity list
-
WDS_DriverWorkLog2Item
-
int
IdCar
unique car ID
-
string
DateFrom
date from - local time
-
string
DateTo
date to - local time
-
string
DriverStatus
driver state
-
string
PlaceFrom
place from
-
string
PlaceTo
place to
-
float
Distance
distance
-
string
Sms
SMS text
-
string
No
Number
-
int
DriverStatusCode
driver status codes:
10 - start of vehicle operation record
20 - end of vehicle operation record
100 - rest
101 - safety break
102 - inactivity
103 - break for food and rest
200 - alert
201 - border, pass
202 - ferry (ROLO)
203 - Eurotunel
300 - Work
301 - Loading
302 - Unloading
304 - technical problem
305 - other activity
306 - fueling
307 - duty
308 - Overdrive
400 - ride
401 - empty ride -
string
Driver
driver
-
string
Status
SMS text / driver status change
-
string
Crew
crew
-
int
IdDriver
unique driver ID
-
int
IdCrew
crew ID
-
int
IsCrew
0 - driver record
1 - crew record
-
int
IdCar
-
WDS_DriverWorkLog2Item
-
WDS_BorderCross2Item[]
Border crossings
-
WDS_BorderCross2Item
-
string
MPZ
International license plates of state
-
string
Date_from
Date from in local time
-
string
Date_to
Date to in local time
-
float
Dist
distance traveled in the state
-
float
Odom
tachometer status at border crossing
-
string
MPZ
-
WDS_BorderCross2Item
-
WDS_CarWorkLogActItem[]
Activities
-
WDS_CarWorkLogActItem
-
int
IdWorkLogList
vehicle operation record id
-
int
ActType
type of activity
0 - not entered
1 - Loading
2 - Unloading -
string
DateFrom
Time from local time
-
string
DateTo
Time to local time
-
float
Odom
state of tachometer
-
string
Place
place
-
string
Note
note/message
-
int
IdWorkLogList
-
WDS_CarWorkLogActItem
-
WDS_FileListItem[]
List of files belonging (by time) to vehicle operation record
-
WDS_FileListItem
-
int
IdFile
file identifier
-
int
IdCar
car identifier
-
int
IdDriver
driver identifier
-
int
IdUser
user identifier
-
string
UserName
usename
-
string
FileName
filename
-
int
Type
file type
-
int
Source
source
-
string
Size
size
-
string
Email
email
-
string
OrigDate
file creation time / local time
-
string
ReadDate
reading time
-
string
Note
note
-
int
IdFile
-
WDS_FileListItem
-
string
UpdDate
the date of the last edit of vehicle operation record in local time formatY-m-d H:i:s
-
int
IdTrailer3
ID trailer 3
-
int
IdTrailer4
ID Trailer 4
-
int
IdTrailer5
ID Trailer 5
-
string
TName3
name of trailer 3
-
string
TName4
name of trailer 4
-
string
TName5
name of trailer 5
-
float
Ew1
beginning of vehicle operation record - latitude
-
float
El1
beginning of vehicle operation record - longitude
-
float
Ew2
end of vehicle operation record - latitude
-
float
El2
end of vehicle operation record - longitude
-
float
T1km
Trailer 1 - traveled distance in km
-
float
T2km
Trailer 2 - traveled distance in km
-
float
T3km
Trailer 3 - traveled distance in km
-
float
T4km
Trailer 4 - traveled distance in km
-
float
T5km
Trailer 5 - traveled distance in km
-
float
T1F1
Trailer 1 - Start of fuel in tank (frigo) [l]
-
float
T2F1
Trailer 2 - Start of fuel in tank (frigo) [l]
-
float
T3F1
Trailer 3 - Start of fuel in tank (frigo) [l]
-
float
T4F1
Trailer 4 - Start of fuel in tank (frigo) [l]
-
float
T5F1
Trailer 5 - Start of fuel in tank (frigo) [l]
-
float
T1F2
Trailer 1 - Final state of fuel in tank (frigo) [l]
-
float
T2F2
Trailer 2 - Final state of fuel in tank (frigo) [l]
-
float
T3F2
Trailer 3 - Final state of fuel in tank (frigo) [l]
-
float
T4F2
Trailer 4 - Final state of fuel in tank (frigo) [l]
-
float
T5F2
Trailer 5 - Final state of fuel in tank (frigo) [l]
-
float
T1Tank
Trailer 1 - Fitted into cooling unit on semi-trailer (Frigo) [l]
-
float
T2Tank
Trailer 2 - Fitted into cooling unit on semi-trailer (Frigo) [l]
-
float
T3Tank
Trailer 3 - Fitted into cooling unit on semi-trailer (Frigo) [l]
-
float
T4Tank
Trailer 4 - Fitted into cooling unit on semi-trailer (Frigo) [l]
-
float
T5Tank
Trailer 5 - Fitted into cooling unit on semi-trailer (Frigo) [l]
-
float
T1Cons
Trailer 1 - Consumption [l]
-
float
T2Cons
Trailer 2 - Consumption [l]
-
float
T3Cons
Trailer 3 - Consumption [l]
-
float
T4Cons
Trailer 4 - Consumption [l]
-
float
T5Cons
Trailer 5 - Consumption [l]
-
int
T1Mh1
Trailer 1 - Initial state of moto-hours [s]
-
int
T2Mh1
Trailer 2 - Initial state of moto-hours [s]
-
int
T3Mh1
Trailer 3 - Initial state of moto-hours [s]
-
int
T4Mh1
Trailer 4 - Initial state of moto-hours [s]
-
int
T5Mh1
Trailer 5 - Initial state of moto-hours [s]
-
int
T1Mh2
Trailer 1 - State of moto-hours at the end [s]
-
int
T2Mh2
Trailer 2 - State of moto-hours at the end [s]
-
int
T3Mh2
Trailer 3 - State of moto-hours at the end [s]
-
int
T4Mh2
Trailer 4 - State of moto-hours at the end [s]
-
int
T5Mh2
Trailer 5 - State of moto-hours at the end [s]
-
int
T1MhD
Trailer 1 - Difference of moto-hours [s]
-
int
T2MhD
Trailer 2 - Difference of moto-hours [s]
-
int
T3MhD
Trailer 3 - Difference of moto-hours [s]
-
int
T4MhD
Trailer 4 - Difference of moto-hours [s]
-
int
T5MhD
Trailer 5 - Difference of moto-hours [s]
-
WDS_StopMessItem[]
Actions at route stops
-
WDS_StopMessItem
- int IdCar
- string CarIdentif
- string TransportNo
- string Driver
- int IdAction
- int IdStop
- int IdRoute
- int IdDelivery
-
string
TimeAction
time in GMT
- float MessEw
- float MessEl
- string MessText
- string ActionText
- string ActionNote
- string PointNo
- string PointName
- string Received
- int TypeAction
- int SeqNumber
-
WDS_StopMessItem
-
int
IdWorkLogList
Examples
API version 2.0
$client = new SoapClient('https://api.webdispecink.cz/code/WebDispecinkServiceNet.php?wsdl'); $return = $client->_getCarWorkLogList3($kodf, $username, $pass, $DateFrom, $DateTo, $UpdDate, $WithUnfinished);
Test
To test the function, enter parameters in form below and press Try it out button.