_updateDriver
(API version 2.0)int _updateDriver ( string kodf , string username , string pass , int iddriver , string r_jmeno , string r_prijmeni , string mobil , string dallas )
Description
The function inserts or updates basic driver information.
Categories
Parameters
- string kodf
- Company code
- string username
- Login username
- string pass
- Login password
- int iddriver
- Unique driver identifier (0 .. new entry)
- string r_jmeno
- Driver's first name
- string r_prijmeni
- Driver´s surname
- string mobil
- mobil
- string dallas
- dallas chip (hexadecimal format)
Return value
int
0 = uživatel nemá práva
-1 = dallas 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->_updateDriver($kodf, $username, $pass, $iddriver, $r_jmeno, $r_prijmeni, $mobil, $dallas);
Test
To test the function, enter parameters in form below and press Try it out button.