_getCarsIDPosition4
(API version 2.0)WDS_Position4[] _getCarsIDPosition4 ( string kodf , string username , string pass [ , string carid_list ] )
Description
Function returns detailed information about current vehicle positions of the vehicle list.
Note: If latitude (Zs) or longitude (Zd) is NULL then API function set Zs and Zd to '0'
Categories
Parameters
- string kodf
- company code
- string username
- user name
- string pass
- password
- string carid_list
- vehicle ID list separated by commas (e.g. "8,45,214")
An empty string will start a function for all active vehicles.
Return value
-
WDS_Position4
-
int
cd
vehicle ID
-
float
Zs
latitude
-
float
Zd
longitude
-
string
pt
position time GMT
-
string
lp
position time local
-
int
sd
speed
-
string
LN
location
-
string
i1
input 1
-
string
i2
input 2
-
string
i3
input 3
-
string
i4
input 4
-
int
EE
Voltage measured on start box output (0 ... no voltage, 2 ... is voltage)
- int Hg
-
float
Fl
fuel
-
int
FW
fuel in litre
- int Hb
-
float
Km
total km
-
int
LB
level of battery
- int Wr
-
float
T1
Temperature from CAN 0x525, GWK_AussenTemp item (deprecated)
-
float
T2
Temperature from first sensor (IN) on DALLAS-1Wire bus (deprecated)
-
float
T3
Temperature from second sensor (OUT) on DALLAS-1Wire bus (deprecated)
- int D1
- int D2
- int D3
- int D4
- int D5
-
string
st
skoda time
-
int
ca
course angel
-
int
A1
alarm 1
-
int
A2
alarm 2
-
string
VM
Vehicle model
-
string
VP
Vehicle producer
-
string
VC
Vehicle model by code (CAN reading)
-
string
i1s
input 1 description
-
string
i2s
input 2 description
-
string
i3s
input 3 description
-
string
i4s
input 4 description
-
int
CP
constant 0xFFFF
-
string
ac_dallas
code of identifier chip
-
float
usedfuel
fuel consumption (flowmeter)
-
float
altitude
altitude
- int destodes
- string timetodes
- int sgarmin
- float fearthwidthd
- float fearthlengthd
- string gdatetime
-
int
tdevice
Type of connected communication device (0 ... mobile, 1 ... Garmin, 3 ... WD Fleet)
-
int
num_sms
number of sms
- int swnastav
- int mil
- int aa_e
- int ll
- int ffff
- int eee
- int dst
- int dma
- int dmi
- int sem
- int snv
- int vag
- int ss
- int mm
- int tIn
- int tOut
- int tR
- int vvvv
- string skodaetime
- int dact
- int BB
-
int
FT
tank capacity
-
float
SC
short-term average consumption
-
float
LC
long-term average consumption
-
float
Tkm1
km from refueling
-
float
Tkm2
km till refueling
- string YT
- long Yids
- long Yida
- int Ystav
- int Yklic
- int Ydokl
- int Ytank
-
long
PosOld
time since last position in sec
-
int
Sat
Number of satellites
-
string
timetodesaetr
time to ETA with aetr
-
int
idDelivery
Id delivery
-
int
idNextStop
id next stop
-
string
stopAddress
Address (idstop)
-
int
cd
Examples
API version 2.0
$client = new SoapClient('https://api.webdispecink.cz/code/WebDispecinkServiceNet.php?wsdl'); $return = $client->_getCarsIDPosition4($kodf, $username, $pass, $carid_list);
Test
To test the function, enter parameters in form below and press Try it out button.