_getCarsFPosition
(API version 2.0)WDS_Position2[] _getCarsFPosition ( string kodf , string username , string pass [ , WDS_UserLoginItem[] UserLoginArr ] )
Description
Function returns information about current position to the user login list.
Categories
Parameters
- string kodf
- company code
- string username
- user name
- string pass
- password
-
WDS_UserLoginItem[] UserLoginArr
-
WDS_UserLoginItem
- string kodf
- string username
- string pass
-
WDS_UserLoginItem
- A field of individual login that you can call in bulk within a single function call.
Return value
-
WDS_Position2
-
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
odometer
- 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
dallas ID
-
float
usedfuel
consumed 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
-
string
bdat
date of last generated route (GMT) YYYY-mm-dd hh:mm:ss
-
string
cdat
date of last generated cross boarding (GMT) YYYY-mm-dd hh:mm:ss
-
string
ddat
Date to when all states, cities and streets are generated (GMT) YYYY-mm-dd hh:mm:ss datum do kdy mame dogenerovany nazvy statu, obci a ulic v GMT ve formatu YYYY-mm-dd hh:mm:ss
-
int
cd
Examples
API version 2.0
$client = new SoapClient('https://api.webdispecink.cz/code/WebDispecinkServiceNet.php?wsdl'); $return = $client->_getCarsFPosition($kodf, $username, $pass, $UserLoginArr);
Test
To test the function, enter parameters in form below and press Try it out button.