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

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

# TaskListSearchCriteria

## 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:
    TaskSearchCriteria:
      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
    TaskListSearchCriteria:
      allOf:
        - $ref: "#/components/schemas/TaskSearchCriteria"
        - type: object
          properties:
            sortBy:
              type: string
              enum:
                - updatedAt
                - createdAt
              example: createdAt
            sortDirection:
              type: string
              enum:
                - asc
                - desc
            offset:
              type: integer
              format: int32
              example: 2
            limit:
              type: integer
              format: int32
              example: 20
```
