GET api/v1/account/Statistics
Gets the statistics for the account.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
AccountStatisticsDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Total | MembershipCountsDto |
None. |
|
| New24Hours | MembershipCountsDto |
None. |
|
| New7Days | MembershipCountsDto |
None. |
Response Formats
application/json, text/json, application/senml+json
Sample:
{
"Total": {
"DeviceCount": 1,
"MemberCount": 2,
"BotCount": 3
},
"New24Hours": {
"DeviceCount": 1,
"MemberCount": 2,
"BotCount": 3
},
"New7Days": {
"DeviceCount": 1,
"MemberCount": 2,
"BotCount": 3
}
}
application/xml, text/xml
Sample:
<AccountStatisticsDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Account">
<New24Hours>
<BotCount>3</BotCount>
<DeviceCount>1</DeviceCount>
<MemberCount>2</MemberCount>
</New24Hours>
<New7Days>
<BotCount>3</BotCount>
<DeviceCount>1</DeviceCount>
<MemberCount>2</MemberCount>
</New7Days>
<Total>
<BotCount>3</BotCount>
<DeviceCount>1</DeviceCount>
<MemberCount>2</MemberCount>
</Total>
</AccountStatisticsDto>