User
Simple user object#
Only main fields of user object
| Attribute | Type | Description | Nullable |
|---|---|---|---|
| id | Integer | Identifier | false |
| login | String | User login (used to log in to the system) | false |
| level | Enum of (COMPANY,DIVISION,REGION,SHOP) | User orgstruct level | false |
| active | Boolean | user activity field | false |
| lang | Enum of (ru_RU,en_EN) | User language code | false |
| businessDirId | Integer | User business direction id | false |
| ldapLogin | String | User ldap login | true |
| String | User email | true | |
| firstName | String | User first name | true |
| lastName | String | User last name | true |
| position | String | User position | true |
| timeZoneId | String | User time zone id format like (Europe/Moscow) | true |
| status | String | User status | true |
| invited | Boolean | User invited field | true |
Additional user fields#
Additional user object fields
| Attribute | Type | Description | Nullable |
|---|---|---|---|
| roles | List of String | Set of user report roles | true |
| businessDir | Object | User business direction object | true |
| authType | Enum of (LOCAL,LDAP) | Authorization type (Local - by password, LDAP - via LDAP authorization) | false |
| authoritiesAll | List objects | All user roles | false |
| directorOfShops | List of integers | Shop id list where user is director | false |
| shops | List of integers | List of id shops associated with the user | false |
| regions | List of integers | List of id regions associated with the user | false |
| divisions | List of integers | List of id divisions associated with the user | false |
| voximplantEnabled | Boolean | Сalls are enabled for the user | false |