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 body
|
Start period date
|
ASC.Api.Core.ApiDateTime
|
|
toDate
sent in body
|
End period date
|
ASC.Api.Core.ApiDateTime
|
|
GET api/2.0/settings/statistics/visit
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
{
"fromDate": null,
"toDate": null
}
application/json
{
"status": 0,
"response": [
{
"DisplayDate": "some text",
"Date": "2008-04-10T06-30-00.000Z",
"Hosts": 1234,
"Hits": 1234
}
]
}
text/xml
<result>
<status>0</status>
<response>
<DisplayDate>some text</DisplayDate>
<Date>2008-04-10T06-30-00.000Z</Date>
<Hosts>1234</Hosts>
<Hits>1234</Hits>
</response>
</result>