PendingApplicationStatsRequestModel

object
productNamearray[string]

List of product names to filter by

carrierarray[string]

List of carriers to filter by

Example:EVGL

caseStatusarray[string]

List of case statuses to filter by

caseIdsarray[string]

List of case IDs to search for

Example:CASE123, CASE456

isIncludeSecondaryboolean

Whether to include secondary cases

Example:true

caseGroupsarray[string]

List of case groups to search for

maxAgeInDaysnumberrequired

Age in days at which bucketing stops. Returns exactly this many buckets: a final open-ended bucket holding everything at least maxAgeInDays days old (so 6 gives a “6+” bucket of cases 6 or more days old), preceded by one-day buckets. The first bucket is two days wide so cases less than a day old are still counted.

>= 2<= 31

Example:6

groupByarray[string]

Dimensions to additionally group the total count by. Age bucketing always happens regardless of this field.

Allowed values:carrierproductNamecaseStatus

Example:caseStatus

Example

CaseStatCount

object
labelstringrequired

Label of the grouped value

Example:IN_PROGRESS

valuenumberrequired

Count for the grouped label

Example:12

Example

PendingApplicationAgeBucket

object
labelstringrequired

Display label for the bucket. The final bucket is suffixed with “+” and is open-ended, so “6+” holds cases 6 or more days old. Read fromDays/toDays rather than inferring bounds from the label.

Example:3

fromDaysnumberrequired

Inclusive lower bound of the bucket, as case age in days

Example:2

toDaysnumberrequired

Exclusive upper bound of the bucket, as case age in days. Null on the final open-ended bucket.

Example:3

countnumberrequired

Number of pending applications falling in this age bucket

Example:7

countsarray[object]required

Breakdown of this bucket by case status

Show Child Parameters
Example

CaseStatGroup

object
attributestringrequired

Grouping attribute name

Example:caseStatus

countsarray[object]required

Counts by label for the attribute

Show Child Parameters
Example

PendingApplicationStatsResponseModel

object
countnumberrequired

Total number of matching pending applications. Equal to the sum of the age bucket counts, since the final bucket is open-ended.

Example:100

ageBucketsarray[object]required

Counts bucketed by case age in days, oldest bucket last

Show Child Parameters
statsarray[object]required

Counts grouped by each requested groupBy dimension

Show Child Parameters
Example