_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
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.

Company code
Login username
Login password
WDS_DriverItem DriverItem
ID group
ID driver
Name
Last name
phone
dallas (hexadecimal format)
group name
dallas 1 (hexadecimal format)
dallas 2 (hexadecimal format)
purpose
division
center
personal number
disabled
vehicle
stale plate
note
amor
working hours
address
Object that returns getDriversList (id driver = 0 .. new record, otherwise update)

* Required field