_updateUser

(API version 2.0)

int _updateUser ( string kodf , string username , string pass , WDS_UserItem UserItem )

Description

The function updates the user (Except for changes to usernames, passwords, groups and vehicle rights).

Categories

Parameters

string kodf
Company code
string username
Login username
string pass
Login password
WDS_UserItem UserItem
  • int IdUser

    ID User

  • string Username

    unique User name

  • string Pwd

    password

  • int ChangePwd

    The user must change the password when logging in for the first time

  • int UserRights

    práva:
    0 - admin
    1 - user
    2 - demo

  • string ValidFrom

    Valid from

  • string ValidTo

    Valid until - Empty is still valid

  • string Cargroups

    Group rights

  • string CarsRead

    Vehicle rights - reading

  • string CarsWrite

    Vehicle rights - writing

  • string Email

    email adress

  • string Mobil

    mobil

  • string PersCode

    Personal code

  • string Layer

    Layer

  • int SendSMS

    The right to send SMS

  • int MaxSMS

    Maximum number of SMS per calendar month

  • int PageLimit

    Page limit

  • int CarRental

    Car rental administrator

  • string Note

    Note

  • int ShowLogBook

    Show log book 0 / 1

  • int ShowOdom

    show odometer 0 / 1

  • int ShowMap

    Show map 0 / 1

  • int BFullEdit

    Complete editing of the log book

  • int BDriver

    log book - Editing Driver

  • int BPurpose

    log book - Purpose editing

  • int BPurposeSelect

    log book - Editing purpose only by selecting from combobox

  • int BPrivate

    log book- Edit driving type (private / business)

  • int BPrivate10

    log book - From private to business

  • int BPrivate01

    log book - from business to private

  • int BOdom

    log book -Edit the actual odometer

  • int BNote

    log book - Editing a note

  • int BInfoF

    log book - Editing company information

  • int BInsert

    log book - Allow inserting new rides

  • int BInsert0

    log book - Allow inserting new business route

  • int BInsert1

    log book - Allow inserting private route

  • int BConnect

    log book - Allow connect route

  • int BDelete

    log book - Allow deleting rides

  • int EditDriver

    Editing Driver

  • int EditCarView

    Editing the appearance of the vehicle

  • int EditBookView

    log book - Editing the appearance of a driving book for vehicles with write rights

  • int EditCosts

    log book - Edit cargo and fuel cards

  • int EditCostsOwn

    Log Book - Edit costs only by hand

  • int ShowPrivateR

    Show private route

Object with data - identical to what the getUsers function returns

Return value

int

Examples

API version 2.0

$client = new SoapClient('https://api.webdispecink.cz/code/WebDispecinkServiceNet.php?wsdl');
$return = $client->_updateUser($kodf, $username, $pass, $UserItem);

Test

To test the function, enter parameters in form below and press Try it out button.

Company code
Login username
Login password
WDS_UserItem UserItem
ID User
unique User name
password
The user must change the password when logging in for the first time
práva:
0 - admin
1 - user
2 - demo
Valid from
Valid until - Empty is still valid
Group rights
Vehicle rights - reading
Vehicle rights - writing
email adress
mobil
Personal code
Layer
The right to send SMS
Maximum number of SMS per calendar month
Page limit
Car rental administrator
Note
Show log book 0 / 1
show odometer 0 / 1
Show map 0 / 1
Complete editing of the log book
log book - Editing Driver
log book - Purpose editing
log book - Editing purpose only by selecting from combobox
log book- Edit driving type (private / business)
log book - From private to business
log book - from business to private
log book -Edit the actual odometer
log book - Editing a note
log book - Editing company information
log book - Allow inserting new rides
log book - Allow inserting new business route
log book - Allow inserting private route
log book - Allow connect route
log book - Allow deleting rides
Editing Driver
Editing the appearance of the vehicle
log book - Editing the appearance of a driving book for vehicles with write rights
log book - Edit cargo and fuel cards
Log Book - Edit costs only by hand
Show private route
Object with data - identical to what the getUsers function returns

* Required field