GET api/Transactions/Stats
Get basic statistics on transaction counts.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
TransactionsStatsResponse
TransactionsStatsResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| ClassVer |
Class version |
integer |
None. |
| TotalTransactionCount |
Total number of available transactions |
integer |
None. |
| TransactionReadCount |
Number of transactions with read flag set |
integer |
None. |
| TransactionAgentsReadCount |
Number of transaction agents with read flag set |
integer |
None. |
| TransactionBuyersReadCount |
Number of transaction buyers with read flag set |
integer |
None. |
| TransactionSellersReadCount |
Number of transaction sellers with read flag set |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"ClassVer": 2,
"TotalTransactionCount": 1,
"TransactionReadCount": 2,
"TransactionAgentsReadCount": 3,
"TransactionBuyersReadCount": 4,
"TransactionSellersReadCount": 5
}
application/xml, text/xml
Sample:
<TransactionsStatsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HSTS.API.Models"> <TotalTransactionCount>1</TotalTransactionCount> <TransactionAgentsReadCount>3</TransactionAgentsReadCount> <TransactionBuyersReadCount>4</TransactionBuyersReadCount> <TransactionReadCount>2</TransactionReadCount> <TransactionSellersReadCount>5</TransactionSellersReadCount> </TransactionsStatsResponse>