Documentation
moduser
Edit an existing user.
Note:
- Admin users can modify every user belonging to their own agency
- Non admin users only can edit theirselves
- The edited user will be returned
- Send only the fields you want to edit
endpoints
production
http://api.vpttours.com/moduser
test
http://apitest.vpttours.com/moduser
request parameters
targetemail
[string:email][required]
The current email address that belongs to the user we want to edit.
name
[string]
The new user name.
[string:email]
The new user email.
emailcc
[string:email]
The new user emailcc.
isactive
[boolean]
It indicates whether the user is active.
isadministrator
[boolean]
It indicates whether the user has administrator permissions.
cangetvouchers
[boolean]
It indicates whether the user has permission to issue vouchers from the system.
cangetnet
[boolean]
It indicates whether the user has permission to get net prices of a reservation.
canvoid
[boolean]
It indicates whether the user has permission to void reservations wich originate cost.
canseeaccount
[boolean]
It indicates whether the user has permission to see the agency data bank.
password
[string]
The new user password.
response data
[user]
The edited user.