GET api/RcAdminStatistics/GetEventCounts?rcId={rcId}&startTime={startTime}&endTime={endTime}&intervalLength={intervalLength}&courseId={courseId}&personId={personId}&resourceIds[0]={resourceIds[0]}&resourceIds[1]={resourceIds[1]}
Groups events (that happen in the specified resource center between the specified start and end times) by resource ID and by intervals of the specified length. Returns the count of each group.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
rcId |
The ID of the resource center from whose context the call is made |
integer |
Required |
startTime | integer |
Required |
|
endTime | integer |
Required |
|
intervalLength |
The length of the intervals. I.e: When start-end times represent a month/week, the interval length could be the length of a day. I.e: When start-end times represent a day, the interval length could be the length of an hour. |
integer |
Required |
courseId |
Filter. If specified, only events associated with this course will be returned. |
integer |
None. |
personId |
Filter. If specified, only events with this attendee will be returned. |
integer |
None. |
resourceIds |
Filter. If specified, only events of this resource type will be returned. If not specified, returns all student study-resources |
Collection of integer |
None. |
Body Parameters
None.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |