Returns a list of the login events by the parameters specified in the request.
Name | Description | Type | Example |
userId
sent in url
|
User ID | guid | 9924256A-739C-462b-AF15-E652A3B1B6EB |
action
sent in url
|
Action | ASC.MessagingSystem.Core.MessageAction | |
from
sent in url
|
Start date | Date and Time | Roundtrip format: 2008-04-10T06-30-00.000Z |
to
sent in url
|
End date | Date and Time | Roundtrip format: 2008-04-10T06-30-00.000Z |
GET api/2.0/security/audit/login/filter Host: yourportal.onlyoffice.com Content-Type: application/json Accept: application/json { "userId": "9924256A-739C-462b-AF15-E652A3B1B6EB", "action": null, "from": "2008-04-10T06-30-00.000Z", "to": "2008-04-10T06-30-00.000Z" }
List of filtered login events
{ "status": 0, "response": [ { "Id": 1234, "Date": "2008-04-10T06-30-00.000Z", "User": "some text", "UserId": "9924256A-739C-462b-AF15-E652A3B1B6EB", "Login": "some text", "Action": "some text", "IP": "some text", "Country": "some text", "City": "some text", "Browser": "some text", "Platform": "some text", "Page": "some text" } ] }