---
title: "DashboardStatsRequest"
url: "https://developers.zinnia.com/apis/case-management-1-0-0/versions/0091226b-6452-4e75-93ce-4bbfe022aad5/schemas/DashboardStatsRequest"
---

> Full API specification: https://developers.zinnia.com/apis/case-management-1-0-0/versions/0091226b-6452-4e75-93ce-4bbfe022aad5.md

# DashboardStatsRequest

## OpenAPI definition

```yaml
openapi: 3.0.3
info:
  title: Case Management API
  version: 1.0.0
servers:
  - url: https://dev.api.zinnia.io/
    description: Dev Environment
  - url: https://qa.api.zinnia.io/
    description: QA Environment
  - url: https://uat.api.zinnia.io/
    description: UAT Environment
  - url: https://api.zinnia.io/
    description: PROD Environment
components:
  schemas:
    DashboardSearchRequest:
      type: object
      properties:
        policyNumber:
          type: string
          description: The policy number associated with the case.
          example: AU7654098
        applicationType:
          type: string
          description: The application type of the policy.
          example: Digital
        process:
          type: array
          description: A list of processes to filter the search results.
          items:
            type: string
          example:
            - New Business
        carrier:
          type: array
          description: A list of carrier to filter the search results.
          items:
            type: string
          example:
            - Carrier 1
            - Carrier 2
        requestSubType:
          type: array
          description: A list of request subtypes to filter the search results.
          items:
            type: string
          example:
            - INTERNAL CONVERSION
        productName:
          type: array
          description: A list of product names to filter the search results.
          items:
            type: string
          example:
            - TOTAL INTEREST ANUITY APPLICATION
        caseStatus:
          type: array
          description: A list of case statuses to filter the search results.
          items:
            type: string
          example:
            - Exception
        createdDateStart:
          type: string
          description: The start date for the creation date range filter.
          format: date-time
        createdDateEnd:
          type: string
          format: date-time
          description: The end date for the creation date range filter.
        updatedDateStart:
          type: string
          format: date-time
          description: The start date for the updated date range filter.
        updatedDateEnd:
          type: string
          format: date-time
          description: The end date for the updated date range filter.
        brokerDealerName:
          type: array
          description: A list of broker dealer names to filter the search results.
          items:
            type: string
          example:
            - Broker 1
            - Broker 2
    DashboardStatsRequest:
      type: object
      properties:
        filter:
          $ref: "#/components/schemas/DashboardSearchRequest"
        groupBy:
          type: array
          minItems: 1
          maxItems: 3
          uniqueItems: true
          items:
            type: string
            enum:
              - brokerDealerName
              - carrier
              - caseStatus
              - processSubType
              - policyNumber
              - process
              - productName
              - expectionCategory
              - openStages
              - updatedAt
              - createdAt
```
