_getTimePositions
(API version 2.0)WDS_RoutePositionsGMTItem[] _getTimePositions ( string kodf , string username , string pass , int IdCar , string GMTimeFrom , string GMTimeTo )
Description
Function return list of the routes for specific time period.
Categories
Parameters
- string kodf
- company code
- string username
- user name
- string pass
- password
- int IdCar
- vehicle ID
- string GMTimeFrom
- time from (local time) (YYYY-mm-dd HH:mm:ss)
- string GMTimeTo
- time to (local time) (YYYY-mm-dd HH:mm:ss), maximum interval 24 hours
Return value
WDS_RoutePositionsGMTItem[]
-
WDS_RoutePositionsGMTItem
-
string
Datum
date (GMT)
-
float
Zs
latitude
-
float
Zd
longitude
-
int
Rychlost
speed
-
int
Poc_satelitu
satelites count
-
long
Id_jizda
route ID
-
string
Datum
Examples
API version 2.0
$client = new SoapClient('https://api.webdispecink.cz/code/WebDispecinkServiceNet.php?wsdl'); $return = $client->_getTimePositions($kodf, $username, $pass, $IdCar, $GMTimeFrom, $GMTimeTo);
Test
To test the function, enter parameters in form below and press Try it out button.