---
title: "PolicySearchRequest"
url: "https://developers.zinnia.com/apis/policy-service-0-1-0/versions/8306e031-b41c-452a-a7ed-d73d65602086/schemas/PolicySearchRequest"
---

> Full API specification: https://developers.zinnia.com/apis/policy-service-0-1-0/versions/8306e031-b41c-452a-a7ed-d73d65602086.md

# PolicySearchRequest

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Policy Service
  version: 0.0.21
servers:
  - url: https://qa.api.zinnia.io
components:
  schemas:
    PolicySearchRequest:
      type: object
      properties:
        firstName:
          type: string
          description: policy owner first name
        policyNumber:
          type: string
          description: number/subjective id of policy. Optionally, you can partial search
            if SSN is also using partial search (e.g. `*1234`)
        lastName:
          type: string
          description: policy owner last name
        fullName:
          type: string
          description: policy owner full name. Optionally support partial search
        policyStatus:
          type: string
          description: status of policy, needs to be enum
        planCode:
          type: string
          description: plan code for policy
        lastUpdated:
          format: date-time
          type: string
          description: last time policy was updated
        createdAt:
          format: date-time
          type: string
          description: creation time of the policy
        ssn:
          type: string
          description: Policy owner social security number. SSN should be 9 digits, or the
            last four (e.g. `*1234`) when policy number is also last four
            (partial search)
        id:
          type: string
          description: reference id of the policy, fully unique
        lineOfBusiness:
          type: string
          description: line of business to search for, options are LIFE or Annuity Product
        partyIds:
          description: list of party ids associated with the policy
          example:
            - 4fd32e7aecc24888be9c5418d6dc646a
            - 2739e8897e7141189ccd366f7d054ff0
          type: array
          items:
            type: string
        issueDateFrom:
          type: string
          format: date
          description: Start date for issue date range query in YYYY-MM-DD format
          example: 2024-01-01
        issueDateTo:
          type: string
          format: date
          description: End date for issue date range query in YYYY-MM-DD format
          example: 2024-12-31
```
