createuser

Creates a new user belonging to the user's agency.

Note:

endpoints

production

https://api.vpttours.com/createuser

test

https://apitest.vpttours.com/createuser

request parameters

name
[string][required]

The name of the new user.


email
[string:email][required]

The email of the new user. This will be the user's id for login. Every notification will be sent to this email address.


password
[string][required]

The password of the new user.


emailcc
[string:email]

The emailcc of the new user. If exists, every notification will be also sent to this email address.


isactive
[boolean][default true]

Defines wether the user is active.


isadministrator
[boolean][default false]

Defines wether the user is an admin.


cangetvouchers
[boolean][default true]

Defines wether the user can get the vouchers of a reservation.


cangetnet
[boolean][default false]

Defines wether the user can get the net price of a reservationService.


canvoid
[boolean][default false]

Defines wether the user can void reservations wich fall into penalty.


canseeaccount
[boolean][default false]

Defines wether the user can get the client payment data.


response data

[user]

The created user.