_getAccelerometer
(API version 2.0)WDS_AccelometerItem[] _getAccelerometer ( string kodf , string username , string pass , int IdCar , string DateFrom , string DateTo )
Description
The function returns the events statistics - Accelerometer
Categories
Parameters
- string kodf
- Company login code
- string username
- Login username
- string pass
- Login password
- int IdCar
- Vehicle Identifier
- string DateFrom
- The start date of the observation period (Local time).
- string DateTo
- The end date of the observation period (Local time). WARNING: There is a lot of data, Enter the time range only in hours.
Return value
WDS_AccelometerItem[]
-
WDS_AccelometerItem
-
int
IdCar
vehicle ID
- string LogDate
- int TypeAct
-
string
Direction
direction
- int Intensity
-
int
Speed
Speed
- int Course
- float Intensity2
-
string
Place
place
- float X
- float Y
- float Z
- int Magnitude
-
float
Ew
latitude
-
float
El
longitude
-
int
IdDriver
Driver's ID
-
string
Driver
driver
-
int
IdCar
Examples
API version 2.0
$client = new SoapClient('https://api.webdispecink.cz/code/WebDispecinkServiceNet.php?wsdl'); $return = $client->_getAccelerometer($kodf, $username, $pass, $IdCar, $DateFrom, $DateTo);
Test
To test the function, enter parameters in form below and press Try it out button.