GET api/2.0/settings/statistics/visit
Returns the user visit statistics for the period specified in the request.
Name |
Description |
Type |
Example |
fromDate
sent in url
|
Start period date
|
Date and Time
|
Roundtrip format: 2008-04-10T06-30-00.000Z
|
toDate
sent in url
|
End period date
|
Date and Time
|
Roundtrip format: 2008-04-10T06-30-00.000Z
|
GET api/2.0/settings/statistics/visit?fromDate=%222008-04-10T06-30-00.000Z%22&toDate=%222008-04-10T06-30-00.000Z%22
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
application/json
{
"status": 0,
"response": [
{
"DisplayDate": "12/22/2020",
"Date": "2020-12-22T04:11:57.0469085+00:00",
"Hosts": 0,
"Hits": 0
}
]
}
text/xml
<result>
<status>0</status>
<response>
<DisplayDate>12/22/2020</DisplayDate>
<Date>2020-12-22T04:11:57.0469085+00:00</Date>
<Hosts>0</Hosts>
<Hits>0</Hits>
</response>
</result>