Documentation
user {.u-pearl}
User representation. Anyone with access to the VPT API 2.0 system.
Permissions are determined by the values of its fields.
attributes {.u-pearl}
email {.u-pearl}
[string:email] {.u-lightPearl}
User email. This is also the user's id for login. Every notification will be sent to this address.
emailcc {.u-pearl}
[string:email] {.u-lightPearl}
User´s emailcc. If exists, every notification will be also sent to this address.
name {.u-pearl}
[string] {.u-lightPearl}
User´s name.
isactive {.u-pearl}
[boolean] {.u-lightPearl}
Defines wether the user is active.
isadministrator {.u-pearl}
[boolean] {.u-lightPearl}
Defines wether the user is an admin.
cangetvouchers {.u-pearl}
[boolean] {.u-lightPearl}
Defines wether the user can get the vouchers of a reservation.
cangetnet {.u-pearl}
[boolean] {.u-lightPearl}
Defines wether the user can get the net price of a reservationService.
canvoid {.u-pearl}
[boolean] {.u-lightPearl}
Defines wether the user can void reservations wich fall into penalty.
canseeaccount {.u-pearl}
[boolean] {.u-lightPearl}
Defines wether the user can get the client payment data.