_getAllCarsPosition
(API version 1.0)This API version is used only for older systems and will not be supported in the future. We recommend using functions from version 2.
array[] _getAllCarsPosition ( string kodf , string username , string pass , int geocode )
Description
Function returns information about current position of all vehicles.
Returned positions (Zs, Zd, latitude, longitude, etc.) are independent of car log book. This positions are incoming from vehicle periodically as part of state message of the vehicle (STA message).
Categories
Parameters
- string kodf
- company code
- string username
- user name
- string pass
- password
- int geocode
- geocoding (names of position in Location* fields), 0 = disabled, 1 = enabled; please use only if needed, calls without geocoding get processed faster
Return value
-
string[]
- string item
Two strings - latitude and longitude.
Examples
API version 1.0
$client = new SoapClient(NULL, , array( 'location' => 'http://api.webdispecink.cz/code/webdisser.php', 'uri' => 'urn://api.webdispecink.cz/webdisser_01', 'soap_version' => SOAP_1_2, 'trace' => 1, )); $return = $client->__soapCall('_getAllCarsPosition', array($kodf, $username, $pass, $geocode));
Test
To test the function, enter parameters in form below and press Try it out button.