_setCarETA
(API version 2.0)int _setCarETA ( string kodf , string username , string pass , int IdCar , float Ew , float El , string TimeDest , int Status , int Destination )
Description
Function sets information about destination and when is expected to reach the destination.
Categories
Parameters
- string kodf
- company code
- string username
- user name
- string pass
- password
- int IdCar
- vehicle ID
- float Ew
- latitude - Earth width
- float El
- longitude - Earth length
- string TimeDest
- time of reaching the destination ( GMT, YYYY-MM-DD HH:mm:ss)
- int Status
- navigation status: 0 - disconnected, 1 - connected
- int Destination
- distance of destination target in metres
Return value
int
Examples
API version 2.0
$client = new SoapClient('https://api.webdispecink.cz/code/WebDispecinkServiceNet.php?wsdl'); $return = $client->_setCarETA($kodf, $username, $pass, $IdCar, $Ew, $El, $TimeDest, $Status, $Destination);
Test
To test the function, enter parameters in form below and press Try it out button.