_getCarsIDPosition2
(API version 2.0)WDS_Position3[] _getCarsIDPosition2 ( string kodf , string username , string pass [ , string carid_list ] )
Description
Function returns detailed information about current vehicle positions of the vehicle list.
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_Position3
-
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
place
-
string
i1
input 1
-
string
i2
input 2
-
string
i3
input 3
-
string
i4
input 4
-
int
EE
voltage
- int Hg
- float Fl
- int FW
- int Hb
- float Km
- int LB
- int Wr
- float T1
- float T2
- float T3
- int D1
- int D2
- int D3
- int D4
- int D5
- string st
- int ca
-
int
A1
alarm 1
-
int
A2
alarm 2
-
string
VM
Vehicle Model
-
string
VP
Vehicle producer
-
string
VC
Vehicle code from CAN
-
string
i1s
input 1 description
-
string
i2s
input 2 description
-
string
i3s
input 3 description
-
string
i4s
input 4 description
- int CP
- string ac_dallas
-
float
usedfuel
used fuel by the flow meter
-
float
altitude
altitude
-
int
destodes
number of meters to the destination (ETA)
-
string
timetodes
time to the destination (ETA)
- int sgarmin
-
float
fearthwidthd
fearthwidth
-
float
fearthlengthd
fearthlength
- string gdatetime
- int tdevice
-
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
fuel tank capacity
- float SC
- float LC
-
float
Tkm1
kilometers from the last refueling
-
float
Tkm2
kilometers to the next refueling
-
int
cd
Examples
API version 2.0
$client = new SoapClient('https://api.webdispecink.cz/code/WebDispecinkServiceNet.php?wsdl'); $return = $client->_getCarsIDPosition2($kodf, $username, $pass, $carid_list);
Test
To test the function, enter parameters in form below and press Try it out button.