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

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

# PublicTaskInstanceModel

Represents the details of the task.

## 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:
    PublicTaskInstanceModel:
      description: Represents the details of the task.
      type: object
      properties:
        id:
          type: string
          description: Unique identifier for the task instance
          example: TA000000000302
        process:
          type: string
          description: Process associated with the task
          example: New Business
        carrier:
          type: string
          description: Carrier associated with the task
          example: Carrier_1
        taskType:
          type: string
          description: Type of the task
          example: Suitability
        taskName:
          type: string
          description: Name of the task
          example: Suitability Review
        taskDetails:
          type: string
          description: Details of the task
          example: Important task details..
        status:
          type: string
          description: Current status of the task
          example: NEW
          enum:
            - NEW
            - INPROGRESS
            - SCHEDULED
            - CANCELLED
            - COMPLETED
        queue:
          type: string
          description: Queue to which the task is assigned
          example: queue_withdrawal
        scheduledReason:
          type: string
          description: Reason why the task is scheduled to later time
          example: ""
        scheduledDate:
          type: string
          format: date
          description: Date for which the task is scheduled
          example: 2024-04-02
        cancellationReason:
          type: string
          description: Reason for task cancellation
          example: ""
        assignee:
          type: string
          description: Email Id of the User assigned to the task
          example: Great.Gatsby@zinnia.com
        assigneePartyId:
          type: string
          description: Party Id of the User assigned to the task
          example: 53dfb347558f42cfb79a0ef3a1147acb
        createdAt:
          type: string
          format: date-time
          description: Timestamp when the task was created
        updatedAt:
          type: string
          format: date-time
          description: Timestamp when the task was last updated
```
