UserActivities
Last updated
Last updated
UserActivities
track certain activities that the related initiates and record the in which the activity took place.
Each UserActivity
has a concrete which defines the kind of activity that is tracked.
An activity is uniquely identified by the combination of the type
and the related . The associated reflects the user's most recently active location.
The fields created_at
and updated_at
indicate the time of the first and most recent occurrence of the activity, respectively.
Activities are only recorded through the use of the intratool application itself and not via the API.
userActivity
user
Belongs to
user_id
department
Belongs to
department_id
login
- A login activity of the related .
logout
- A logout activity of the related .
general
- Any activity of the related .
Get a list of all UserActivities
.
Definition
GET
/api/user-activities
Example Request
Example Response
Show a single UserActivity
by id
.
Definition
GET
/api/user-activities/{id}
Example Request
Example Response