Search
K
Case Management

StatsSearchModel

object

Search criteria for case status comparison

carrierarray[string]required

List of carriers to filter by

Example:ELIC, SBUL

groupByarray[string]required

Must be set to caseStatus for this endpoint

Allowed values:caseStatus

Example:caseStatus

Example

CaseStatusComparisonResponse

object

Response containing case status count comparison results

matchedbooleanrequired

Whether the counts match between MongoDB and Elasticsearch

mongoTotalinteger(int64)required

Total count from MongoDB

Example:1500

elasticTotalinteger(int64)required

Total count from Elasticsearch

Example:1480

totalCountDifferenceinteger(int64)required

Absolute difference between total counts

Example:20

statusComparisonarray[object]required

Count comparison for a specific case status

Show Child Parameters
Example

CaseStatusCountDiff

object

Count comparison for a specific case status

caseStatusstringrequired

The case status being compared

Example:OPEN

mongoCountinteger(int64)required

Count from MongoDB for this status

Example:250

elasticCountinteger(int64)required

Count from Elasticsearch for this status

Example:235

differenceinteger(int64)required

Absolute difference between the counts

Example:15

Example