_getDriversList3
(API version 2.0)WDS_DriverItem2[] _getDriversList3 ( string kodf , string username , string pass , int iddriver [ , string oskod ] [ , int disabled ] )
Description
The function returns drivers list of the company. Input fields could be used to filter the result.
Categories
Parameters
- string kodf
- Company code
- string username
- Username
- string pass
- Password
- int iddriver
- Unique driver identification
-1 - returns all drivers of the company - string oskod
- Personal number of driver (optional field)
- int disabled
- Driver validity (optional field)
0 - returns all active drivers
1 - returns all inactive drivers
Empty value - returns all drivers
Field not used - returns all drivers
Return value
-
WDS_DriverItem2
-
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
license plate
-
string
pozn
note
-
float
amor
amor
-
float
pracdoba
working hours
-
string
adresa
address
-
string
telefon2
secondary phone
-
string
email
email address
-
string
prukaz
driver license number
-
string
pracz
company position
-
string
opravneni
permissions
-
string
employer
Employer (optional field)
-
string
use_mode
use mode (optional field)
-
string
dateOfDeletion
date and time of deactivation in format dd.mm.yyyy hh:ii:ss (optional field)
-
int
idskupina
Examples
API version 2.0
$client = new SoapClient('https://api.webdispecink.cz/code/WebDispecinkServiceNet.php?wsdl'); $return = $client->_getDriversList3($kodf, $username, $pass, $iddriver, $oskod, $disabled);
Test
To test the function, enter parameters in form below and press Try it out button.