_sendRoutePlanToCar

(API version 2.0)

int _sendRoutePlanToCar ( string kodf , string username , string pass , int IdCar , string TextXml )

Description

The function imports the route of the vehicle into navigation.

Files

Categories

Parameters

string kodf
Company login code
string username
Login username
string pass
Login password
int IdCar
unique vehicle identifier
string TextXml
XML - see sample files

Return value

int

Success:
positive value - identifier of the route plan (transportation plan)

Errors:
0 - Login failed, invalid credentials
-1 - Access denied, invalid user role
-2 - Access denied, invalid access rights to the vehicle
-3 - TextXml preprocessing failed - internal error
-4 - TextXml parameter is invalid
-5 - PointNo parameter is invalid. The maximum length must be 50 characters.
-6 - PointNo parameter is invalid. It must be unique

Examples

API version 2.0

$client = new SoapClient('https://api.webdispecink.cz/code/WebDispecinkServiceNet.php?wsdl');
$return = $client->_sendRoutePlanToCar($kodf, $username, $pass, $IdCar, $TextXml);

Test

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

Company login code
Login username
Login password
unique vehicle identifier
XML - see sample files

* Required field