<portalStatistics_uri>/user/accumulatedcountchanges[.<format>]
accumulatedUserCountChanges is a resource that describes user count changes with time. The information of accumulated user count changes with time can be get by sending GET request.
Supported Methods:
Supported output formats: rjson, json, html, xml.
Implement the HTTP request on the following URI, where supermapiportal is the server name, with rjson being the output format.
http://supermapiportal:8090/iportal/manager/portalstatistics/user/accumulatedcountchanges.rjson
Getting the information of accumulated user count changes with time
If the parameter has not been set, all of the iPortal's accumulated user count changes information will be returned by default. If the parameter has been set, the changes information duiring a period of time will be returned. Request parameter shall be contained within URI.
| Name | Type | Description |
| startTime | Long | The start time of accumulated user count record. If not a positive number, it will be queried from the earliest record. The value is the milliseconds from 00:00:00 GMT January 1, 1970. |
| endTime | Long | The end time of the accumulated user count record. If it's null or not a positive number, use the server time as the end time. The value is the milliseconds from 00:00:00 GMT January 1, 1970. |
| intervalType | IntervalType | [Optional] The statistics interval , if not set, an appropriate interval will be calculated by system. |
Execute a GET request on the accumulatedUserCountChanges resource to get the information of accumulated user count changes. the information of accumulated user count in an interval includes the following fields:
| Field | Type | Description |
| accumulatedCount | Integer | accumulated user count |
| time | Long | If the time parameter is not set, the time when iPortal was first started will be used as the start time while the server time used as the end time.The unit is millisecond. If the time has been set, use the custom setting as start time or end time |
The returned rjson format representation after implementing the GET request on the accumulatedUserCountChanges resource http://localhost:8090/iportal/manager/portalstatistics/user/accumulatedcountchanges.rjson is as follows:
[
{
"accumulatedCount": 1,
"time": 1491902545058
},
{
"accumulatedCount": 1,
"time": 1491906145058
},
{
"accumulatedCount": 1,
"time": 1491909745058
},
{
"accumulatedCount": 1,
"time": 1491913345058
},
{
"accumulatedCount": 1,
"time": 1491916945058
},
{
"accumulatedCount": 1,
"time": 1491920545058
},
{
"accumulatedCount": 1,
"time": 1491924145058
},
{
"accumulatedCount": 1,
"time": 1491927745058
},
{
"accumulatedCount": 1,
"time": 1491931345058
},
{
"accumulatedCount": 1,
"time": 1491934945058
},
{
"accumulatedCount": 1,
"time": 1491938545058
},
{
"accumulatedCount": 1,
"time": 1491942145058
},
{
"accumulatedCount": 1,
"time": 1491945745058
},
{
"accumulatedCount": 1,
"time": 1491949345058
},
{
"accumulatedCount": 1,
"time": 1491952945058
},
{
"accumulatedCount": 1,
"time": 1491956545058
},
{
"accumulatedCount": 1,
"time": 1491960145058
},
{
"accumulatedCount": 1,
"time": 1491963745058
},
{
"accumulatedCount": 1,
"time": 1491967345058
},
{
"accumulatedCount": 1,
"time": 1491970945058
},
{
"accumulatedCount": 1,
"time": 1491974545058
},
{
"accumulatedCount": 1,
"time": 1491978145058
},
{
"accumulatedCount": 1,
"time": 1491981745058
},
{
"accumulatedCount": 1,
"time": 1491985345058
},
{
"accumulatedCount": 1,
"time": 1491988945058
},
{
"accumulatedCount": 1,
"time": 1491992545058
},
{
"accumulatedCount": 1,
"time": 1491996145058
},
{
"accumulatedCount": 1,
"time": 1491999745058
},
{
"accumulatedCount": 1,
"time": 1492003345058
},
{
"accumulatedCount": 1,
"time": 1492006945058
},
{
"accumulatedCount": 1,
"time": 1492010545058
},
{
"accumulatedCount": 1,
"time": 1492014145058
},
{
"accumulatedCount": 1,
"time": 1492017745058
},
{
"accumulatedCount": 1,
"time": 1492021345058
},
{
"accumulatedCount": 1,
"time": 1492024945058
},
{
"accumulatedCount": 1,
"time": 1492028545058
},
{
"accumulatedCount": 1,
"time": 1492032145058
},
{
"accumulatedCount": 1,
"time": 1492035745058
},
{
"accumulatedCount": 1,
"time": 1492039345058
},
{
"accumulatedCount": 1,
"time": 1492042945058
},
{
"accumulatedCount": 1,
"time": 1492046545058
},
{
"accumulatedCount": 1,
"time": 1492050145058
},
{
"accumulatedCount": 1,
"time": 1492053745058
},
{
"accumulatedCount": 1,
"time": 1492057345058
},
{
"accumulatedCount": 1,
"time": 1492060945058
},
{
"accumulatedCount": 2,
"time": 1492064545058
},
{
"accumulatedCount": 3,
"time": 1492068145058
},
{
"accumulatedCount": 3,
"time": 1492068839198
}
]
To get changes information of accumulated user count during a day, set parameters as: startTime=1492063745780&endTime=1492063745789&intervalType=DAY. The returned rjson format representation after implementing the GET request on the accumulatedUserCountChanges resource http://localhost:8090/iportal/manager/portalstatistics/user/accumulatedcountchanges.rjson?startTime=1492063745780&endTime=1492063745789&intervalType=DAY is as follows:
[
{
"accumulatedCount": 2,
"time": 1492063745789
}
]
Asks for the response identical to the one that would correspond to a GET request, but without the response body. This is useful for retrieving meta-information written in response headers, without having to transport the entire content. The meta-information includes the media-type, content-encoding, transfer-encoding, content-length, etc.
HEAD request can be used to check whether the accumulatedUserCountChanges resource exists, or whether the the client has the permission to access it. It can also determine if the accumulatedUserCountChanges resource supports an output format <format> if performed on a URI with .<format> included.