User activity API Resource

Abstract class for REST webservices

GET /activity/json

Get list of user activities for current user.

Request Parameters
name type description default constraints
filter query    
limit query   long
sortField query    
start query   long
Response Body
media type data type description
application/json object JSON with list of user activities.

Example of response:

{"total":27,"list":[{"name":"bob","userFullName":"olo",userAgent: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36 Edge/18.18362", "email":"bob@bob.us","ip":"127.0.0.1","loginDate":"2019-06-28 09:36:51.030047+02","geoIp":"{\"ip\":\"127.0.0.1\",\"country_code\":\"\",\"country_name\":\"\",\"region_code\":\"\",\"region_name\":\"\",\"city\":\"\",\"zip_code\":\"\",\"time_zone\":\"\",\"latitude\":0.0,\"longitude\":0.0,\"metro_code\":0}"}]}

GET /activity/report

Get list of user logins in form of Excel report

Request Parameters
name type description default constraints
filter query    
sortField query    
Response Body
media type data type description
application/json object json response with information about started process

GET /activity/failure/json

Get failure login atttempts for current user

Request Parameters
name type description default constraints
filter query    
limit query   long
sortField query    
start query   long
Response Body
media type data type description
application/json object JSON with list of user failed login attempts.

Example of response:

{total: 1,"list": [ {"name": "miw", "ip": "127.0.0.3", "loginDate": "2019-06-27 14:36:30.329144+02",userAgent: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36 Edge/18.18362","geoIp":"{\"ip\":\"127.0.0.1\",\"country_code\":\"\",\"country_name\":\"\",\"region_code\":\"\",\"region_name\":\"\",\"city\":\"\",\"zip_code\":\"\",\"time_zone\":\"\",\"latitude\":0.0,\"longitude\":0.0,\"metro_code\":0}"}]}

GET /activity/failure/report

Get list of failed user logins in form of Excel report

Request Parameters
name type description default constraints
filter query    
sortField query    
Response Body
media type data type description
application/json object json response with information about started process