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=2008-04-10T06-30-00.000Z&toDate=2008-04-10T06-30-00.000Z
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
application/json
{
"status": 0,
"response": [
{
"displayDate": "7\/1\/2022",
"date": "2022-07-01T04:23:09.7486278+00:00",
"hosts": 0,
"hits": 0
}
]
}
text/xml
<result>
<status>0</status>
<response>
<displayDate>7/1/2022</displayDate>
<date>2022-07-01T04:23:09.7486278+00:00</date>
<hosts>0</hosts>
<hits>0</hits>
</response>
</result>