User activity admin API Resource

Abstract class for REST webservices

GET /admin/activity/json

Get list of user activities.

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":[{"userId":666,"name":"bob","userFullName":"olo","email":"bob@bob.us",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","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 /admin/activity/report

Get list of user log 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 /admin/activity/failure/json

Get failure login atttempts

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": [ {"userId": 1, "name": "miw", "ip": "127.0.0.3", "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", "loginDate": "2019-06-27 14:36:30.329144+02" }]}

GET /admin/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