_getDriversList2
(API version 2.0)WDS_DriverItem[] _getDriversList2 ( string kodf , string username , string pass , int iddriver [ , string oskod ] [ , int disabled ] )
Description
The function returns a list of all drivers with the option to filter by driver id and by personal number
Categories
Parameters
- string kodf
- Company code
- string username
- Login username
- string pass
- Login password
- int iddriver
- Driver id, -1 for all
- string oskod
- Driver's personal number
- int disabled
- Validity of drivers (optional parameter)
0 - return only active drivers
1 - return only inactive drivers
No value or not using this parameter means - return all drivers
Return value
-
WDS_DriverItem
-
int
idskupina
ID group
-
int
iddriver
ID driver
-
string
jmeno
Name
-
string
prijmeni
Last name
-
string
mobil
phone
-
string
dallas
dallas (hexadecimal format)
-
string
groupname
group name
-
string
dallas1
dallas 1 (hexadecimal format)
-
string
dallas2
dallas 2 (hexadecimal format)
-
string
ucel
purpose
-
string
divize
division
-
string
stredisko
center
-
string
osobnicislo
personal number
-
int
disabled
disabled
-
string
vozidlo
vehicle
-
string
spz
stale plate
-
string
pozn
note
-
float
amor
amor
-
float
pracdoba
working hours
-
string
adresa
address
-
int
idskupina
Examples
API version 2.0
$client = new SoapClient('https://api.webdispecink.cz/code/WebDispecinkServiceNet.php?wsdl'); $return = $client->_getDriversList2($kodf, $username, $pass, $iddriver, $oskod, $disabled);
Test
To test the function, enter parameters in form below and press Try it out button.