_getDriversList
(API version 2.0)WDS_DriverItem[] _getDriversList ( string kodf , string username , string pass [ , int disabled ] )
Description
The function returns a list of all drivers.
Categories
Parameters
- string kodf
- Company code
- string username
- Login username
- string pass
- Login password
- 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[]
-
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->_getDriversList($kodf, $username, $pass, $disabled);
Test
To test the function, enter parameters in form below and press Try it out button.