_getCarsPosition

(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.

string[] _getCarsPosition ( string kodf , string username , string pass , int carid )

Description

Function returns information about current vehicle's position.

Categories

Parameters

string kodf
company code
string username
user name
string pass
password
int carid
vehicle's ID

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('_getCarsPosition', array($kodf, $username, $pass, $carid));

Test

To test the function, enter parameters in form below and press Try it out button.

company code
user name
password
vehicle's ID

* Required field