User
JSON Format
Name | Type | Read-only | Mandatory | Comment |
|---|---|---|---|---|
| id | integer | yes | no | |
| firstName | string | no | yes | |
| lastName | string | no | yes | |
| string | no | yes | ||
| loginId | string | no | yes | |
| active | boolean | no | ||
| onVacation | bolean | |||
| creationDate | date | |||
| creator | string | |||
| comments | string | |||
| colLoginId | string | groupwise login | ||
| ldapDN | string | yes | no | |
| address | array | array of Address | ||
| phone | array | array of Phone | ||
| userRoles | array | array of UserRole | ||
| notificationSupport | array | array of UserRoleGroup | ||
| locationId | integer | no | no | Location.id |
| password | string | no | yes | will not be included in response |
URIs
Uri | Method | Request Data | Success Response Code | Description |
|---|---|---|---|---|
| /api/users | GET | 200 | Returns an Array of all Users | |
| /api/users/{id} | GET | 200 | Returns one User | |
| /api/users | POST | User | 201 | Create new User |
| /api/users/{id} | PUT | User | 204 | Update an existing User |
| /api/users/{id} | DELETE | 200 | Delete a User |
