Abstract class for REST webservices
Get list of user activities for current user.
name | type | description | default | constraints |
---|---|---|---|---|
filter | query | |||
limit | query | long | ||
sortField | query | |||
start | query | long |
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 list of user logins in form of Excel report
name | type | description | default | constraints |
---|---|---|---|---|
filter | query | |||
sortField | query |
media type | data type | description |
---|---|---|
application/json | object | json response with information about started process |
Get failure login atttempts for current user
name | type | description | default | constraints |
---|---|---|---|---|
filter | query | |||
limit | query | long | ||
sortField | query | |||
start | query | long |
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}"}]}
|