Users

User objects

User objects consist of the following properties:

id
The user’s unique identifier.
username
The user’s username. Must be composed of only lowercase letters, digits and underscores, be at least 4 and at most 16 characters long, and start with a letter.
languageCode
The user’s preferred language, as a two-letter ISO 639 language code (nl/fr/en).
email
The user’s email address.
firstName
The user’s first name.
lastName
The user’s family name.
title
The user’s gender: M/F.
addressStreet
The street part of the user’s address.
addressHouse
The house number part of the user’s address.
postCode
The user’s postcode.
town
The user’s town.
country
The user’s country, as a two-letter ISO 3166 country code (BE/NL/DE).
telephone
The user’s telephone number.
gsm
The user’s cellphone number.
fax
The user’s fax number.
jobTitle
The user’s job title.
dateOfBirth, placeOfBirth
The user’s date and place of birth.
user

If the user is an administrator, this property will contain a user object with the following properties:

active
True if the user is an active administrator.
userType
A list of the user’s roles, see User roles.

Administrator services

GET /abs/frontend/user

Retrieve a list of all administration users.

Role:admin

Example response

{ "statusCode": "100", "users": [ ... ] }
GET /abs/frontend/user/own

Retrieve a list of all administration users associated with the current account.

Role:userAdmin
GET /abs/frontend/user/(id)

Retrieve a specific administration user.

Role:

userAdmin

Status Codes:
  • 201 – Unknown user.

Example response

{ "statusCode": "100", "user": { ... } }
GET /abs/frontend/user/self

Retrieve the details of the currently logged-in administration user.

Role:user
POST /abs/frontend/user

Create a new administration user.

Role:

userAdmin

Query Parameters:
 
  • username – The user’s username.
  • password – The user’s password.
  • email – The user’s email address.
  • firstName, lastName, title – The user’s personal information.
  • languageCode – The user’s preferred language.
  • roles – The user’s roles, as a comma-separated list, see User roles.
PUT /abs/frontend/user/self

Update the preferences of the logged-in administration user.

Role:

user

Query Parameters:
 
  • password? – The user’s new password.
  • email? – The user’s new email address.
  • languageCode? – The user’s new preferred language.
Status Codes:
  • 314 – The provided email address is already registered.
PUT /abs/frontend/user/(id)

Update the properties of a specific user. All properties described above can be changed.

Role:

userAdmin

Status Codes:
  • 201 – Unknown user.
  • 314 – The provided email address is already registered.
DELETE /abs/frontend/user/(id)

Delete this user.

Role:

userAdmin

Status Codes:
  • 201 – Unknown user.