GET api/2.0/security/audit/login/filter
Returns a list of the login events by the parameters specified in the request.
Name |
Description |
Type |
Example |
userId
sent in body
|
User ID
|
guid
|
9924256A-739C-462b-AF15-E652A3B1B6EB
|
action
sent in body
|
Action
|
ASC.MessagingSystem.Core.MessageAction
|
|
from
sent in body
|
Start date
|
ASC.Api.Core.ApiDateTime
|
|
to
sent in body
|
End date
|
ASC.Api.Core.ApiDateTime
|
|
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": null,
"to": null
}
List of filtered login events
application/json
{
"status": 0,
"response": [
{
"Id": 1234,
"User": "some text",
"UserId": "9924256A-739C-462b-AF15-E652A3B1B6EB",
"Login": "some text",
"Action": "some text",
"IP": "some text",
"Browser": "some text",
"Platform": "some text",
"Page": "some text"
}
]
}
text/xml
<result>
<status>0</status>
<response>
<Id>1234</Id>
<User>some text</User>
<UserId>9924256A-739C-462b-AF15-E652A3B1B6EB</UserId>
<Login>some text</Login>
<Action>some text</Action>
<IP>some text</IP>
<Browser>some text</Browser>
<Platform>some text</Platform>
<Page>some text</Page>
</response>
</result>