Methods
-
Logs an activity made by a user
-
Name Type Description requestAppearition.User.Activity.LogActivityRequest Contains the parameters for submitting activity to the platform
requestOptionsAppearition.RequestOptions Contains the various callback methods for this request
-
Appearition.User.Activity.Search (request, requestOptions)Array.<Appearition.User.Activity.UserActivityViewModel> static
Searches and retrieves a list of user activity records based on the criteria specified in the request.
-
Name Type Description requestAppearition.User.Activity.UserActivitySearchRequest Contains the parameters for searching and filtering results
requestOptionsAppearition.RequestOptions Contains the various callback methods for this request
Returns:
Type Description Array.<Appearition.User.Activity.UserActivityViewModel> This is returned as part of the success callback function in the requestOptions param
Type Definitions
-
This data structure holds the search criteria used to filter records on the platform. Note, tenant key and username will be picked up based on the credentials of the request
-
Properties:
Name Type Description ChannelIdnumber If authorised, you can log activity for different channels. If supplied and you are not authorised, an error will be returned. If left empty, will default to the channel id in the request url
ModuleNamestring The name of the module which the activity came from.
Activitystring Text description of the activity
-
This data structure holds the search criteria used to filter records on the platform
-
Properties:
Name Type Description TenantKeystring If authorised, you can filter user activity results by TenantKey. If not, the search will override this property and use the actual tenant that the request was made from
Usernamestring If authorised, you can filter user activity results for different users. If not, the search will override this property and use the logged in username
ChannelIdnumber If authorised, you can filter user activity results for different channels. If not, the search will override this property and use the logged in users channel id
ModuleNamestring You can filter results by a specific module. This property supports partial text searching
Activitystring You can filter results by a specific action that has been logged. This property supports partial text searching
FromUtcDatestring You can filter results from a specific date. Activity date is recorded in GMT. The format expected is yyyy-MM-ddTHH:mm:ss:ZZZ. If this field is left empty, the search will use the date of Monday of this current week
ToUtcDatestring You can filter results up to a specific date. Activity date is recorded in GMT. The format expected is yyyy-MM-ddTHH:mm:ss:ZZZ. If this field is left empty, the search will use the current date and time in GMT
Pagenumber Specify which page of the results to return. Zero based index
RecordsPerPagenumber Specify how many records each page should return
-
Represents the details of a specific activity logged for a user.
-
Properties:
Name Type Description TenantKeystring The unique identifier of the tenant the activity was recorded from
Usernamestring Uniquely identifies the user who performed/triggered the activity
ChannelIdnumber Identifies the channel in which the activity took place in
ModuleNamestring The name of the module which the activity came from
Activitystring Text description of the activity
ActivityUtcDatestring Date and time in GMT when the activity was logged. Form is yyyy-MM-ddTHH:mm:ss:ZZZ