This repository was archived by the owner on Aug 4, 2019. It is now read-only.

Description
Add bank_id to MQ envelop
COUNT /apiv1/cryptomodules/:id/tokens/:mode?[from=iso|unix]&[to=iso|unix]&[bankId=int]
-As an admin I can count the number of created tokens by their bank_id in a specific time span.
User Story
Available modes:
| mode |
description |
| sum |
total pure result |
| daily |
result group by day |
| monthly |
result group by month |
| annual |
result group by year |
Exceptions
Response (mode: sum):
application/json
Response (mode: daily|monthly|annual):
application/json
[
{
"when":"2001-01-01T12:00:00",
"count":2
}
]