User

Returns a single instance of the currently authenticated user.

Url

GET http://api.hr-technologies.com/v1/user

Requires Authentication

Response

Key Type(s) Description
id int Unique identifier for the user
firstname string Firstname
lastname string Lastname
email string Email used for sending notifications, password-resets, ...
username string Username for the user
role string Role for the user within the E2R system
language string Interface language for the user
updated_at datetime Last time the user was updated
updated_by int Id of the last user to update this user
created_at datetime Original time of creation
created_by int Id of the user that created this user, 0 is used for 'created by system'

Example

Url

http://api.hr-technologies.com/v1/users/login

Response

{
    "data": {
        "id": 11750,
        "firstname": "Thompson",
        "lastname": "Rasmussen",
        "email": "rthompson@example.com",
        "username": "rt",
        "role": "CANDIDATE",
        "language": "nl",
        "updated_at": "2019-10-23 11:39:57",
        "updated_by": 11750,
        "created_at": "2019-05-28 10:52:41",
        "created_by": 0
    }
}