-
Sub-task
-
Resolution: Fixed
-
L3 - Default
-
None
-
Not defined
When we evaluate combined number reports, we need to return the total instance counts as part of the response. Note that the total instance count is not a sum of the counts of each report evaluation, as the instances can exist in multiple source reports. Rather it will require another ES request based on the report contexts to get the total count. This value is used to display the relative values in the UI.
The API can be adjusted as below:
result: { data: { "reportId1": { // report structure of a single report }, "reportId2": { // report structure of a single report }, ... }, type: null, instanceCount: 1000, // new field } }
AT:
- The API returns the accurate total instance count for evaluation of instance count combined reports
- API documentation is updated