_updateDriver2
(API version 2.0)int _updateDriver2 ( string kodf , string username , string pass , WDS_DriverItem DriverItem )
Description
The function updates basic driver information.
Categories
Parameters
- string kodf
- Company code
- string username
- Login username
- string pass
- Login password
- 
        WDS_DriverItem 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
            
- Object that returns getDriversList (id driver = 0 .. new record, otherwise update)
Return value
    int
-4 = dallas je přiřazen jinému řidiči
-5 = dallas1 je přiřazen jinému řidiči
-6 = dallas2 je přiřazen jinému řidiči
Examples
API version 2.0
$client = new SoapClient('https://api.webdispecink.cz/code/WebDispecinkServiceNet.php?wsdl');
$return = $client->_updateDriver2($kodf, $username, $pass, $DriverItem);
Test
To test the function, enter parameters in form below and press Try it out button.