Get Started
Portal api methods
Help

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

Description

Get User Visit Statistics

Parameters
Name Description Type Example
fromDate
sent in url
From Date Date and Time Roundtrip format: 2008-04-10T06-30-00.000Z
toDate
sent in url
To 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

ChartPointWrapper List

Example Response

application/json

{
  "status": 0,
  "response": [
    {
      "displayDate": "7\/18\/2019",
      "date": "2019-07-18T15:38:31.1622038+00:00",
      "hosts": 0,
      "hits": 0
    }
  ]
}

text/xml

<result>
  <status>0</status>
  <response>
    <displayDate>7/18/2019</displayDate>
    <date>2019-07-18T15:38:31.1622038+00:00</date>
    <hosts>0</hosts>
    <hits>0</hits>
  </response>
</result>