Get Started
Usage API
More information

GET api/2.0/settings/statistics/visit This function requires authentication

Description

Returns the user visit statistics for the period specified in the request.

Parameters
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
Example
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
Returns

List of point charts

Example Response

application/json

{
  "status": 0,
  "response": [
    {
      "displayDate": "10\/16\/2021",
      "date": "2021-10-16T17:55:51.7690643+00:00",
      "hosts": 0,
      "hits": 0
    }
  ]
}

text/xml

<result>
  <status>0</status>
  <response>
    <displayDate>10/16/2021</displayDate>
    <date>2021-10-16T17:55:51.7690643+00:00</date>
    <hosts>0</hosts>
    <hits>0</hits>
  </response>
</result>