Introduction
To collect statistical information three tables are defined:
• Quantities
• CountPeriods
• QuantityCounts

Quantities
To collect statistical information Quantities are defined, a Quantity represents the count of something, for examples the count of Responses Found. Quantities can be connected to multiple MessageServices.

Per Quantity count rules will be implemented, a Quantity can have multiple count rules. Count rules are implemented as an algorithm.
For example there is a count rule for Response Found for TOLL-EETS where the MessageKind =TOLLResponse with selector VehOwnerHolderReplies.

CountPeriods
Per Quantity countPeriods are stored. CountPeriods store the date, period, messageservice for which quantity has been counted. Only successful CountPeriods are stored.
The periods day or month are stored.

QuantityCounts
Per CountPeriod and CountMethod QuantityCounts are stored. If there are no counts in the period only the count period is stored without QuantityCounts. The CountMethod can be groupbyMS or groupbyMSandValue. For CountMethod groupbyMS the results are grouped by Sender and Receiver, in case of groupbyMSandValue grouping is done by Sender and Receiver and the unique values of the selector. For example if you have a quantity on casecode, the result will be that per casecode and sender/receiver the counts are stored. The casecodes are stored in QuantityValue.
Note for messagecodes and casecode all possible values are shown, for the description please check the involved TOLL-EETS documentation.

Taskscheduler
The tables need to be filled, to arrange this, tasks are scheduled in the taskscheduler. Every day the taskscheduler will trigger the countQuantities process, every month the aggregateQuantities process will be triggered. The process is self-healing, if will continue after the last successful period.

Webclient Statistics generate report
The quantities result per month can be retrieved in the webclient using Statistics Generate Report.
Via a video, Generate Statistics Report is demonstrated. The video is available here. The video is available via Vimeo.com and requires a password that can be obtained via eucaris2help@rdw.nl.

Scope
Only v8 services statistics can be used for management reports. Currently, statistics are only implemented for TOLL-EETS.

Quantities Implemented
TOLL-EETS request/response
• Response found
• Response not found
• Response error
• Errornotification
• Total Responses
• Response messagecodes
• Errornotification messagecodes
• Single requests
• Request in batch
• Total requests
• Number of batches
• Request per casecode

What if the report is not complete?
In case the quantities are not complete, the statistic report can’t be shown. More information about the situation can be found in the eventlog or in the database in the table taskschedulerlog.