_getOptimalCarsList
(API version 2.0)WDS_CarOptimalItem[] _getOptimalCarsList ( string kodf , string username , string pass )
Description
The function returns a list of all vehicles with optimization enabled, which corresponds to the rights of the logged-on user
Categories
Parameters
- string kodf
- Company code
- string username
- Login username
- string pass
- Login password
Return value
-
WDS_CarOptimalItem
-
int
cargroupid
Group ID in the system. The vehicle may be included into group.
-
int
carid
Vehicle ID in the system
-
string
identifikator
Vehicle registration number
-
string
driver
Default driver. If not filled in, the value is empty.
-
string
mobil
Telephone number to communicate with the vehicle. This value is used if the vehicle is equipped with a telephone for SMS communication.
- int userrights
- int type
- int online
- int disabled
-
string
alarmsms
Phone number for sending alarms.
-
int
iddriver
Default driver ID. If is not filled default driver, the value is empty.
-
int
capacitykg
Vehicle load in kilograms.
-
float
capacitym3
Car volume in cubic meters.
-
int
cargroupid
Examples
API version 2.0
$client = new SoapClient('https://api.webdispecink.cz/code/WebDispecinkServiceNet.php?wsdl'); $return = $client->_getOptimalCarsList($kodf, $username, $pass);
Test
To test the function, enter parameters in form below and press Try it out button.