Here are a few example requests to the users API:
GET /api/v3/users
retrieves all active users from the database.
GET /api/v3/users?dtContractEnd=until,2015-10-15,null
retrieves all users, terminated or not (it
actually retrieves all departed users up to Octobre, 15th 2015 as well as all active and future users).
The date should be replaced with today’s.
GET /api/v3/users/{id}
retrieves all data about the user that has the {id}
id.
GET /api/v3/users?firstName=John
retrieves all users called ‘John’.
GET /api/v3/users?firstName=starts,Jo
retrieves all users whose first name starts with ‘Jo’.
GET /api/v3/users?matricule=001
retrieves the user that has the ‘001’ matricule (employee number, unique to each employee).
You can specify which properties you need throught the fields
parameter.
GET /api/v3/users?fields=firstName,lastName,birthDate
retrieves the first name, last
name and birth date of all active users.
PUT /api/v3/users/1