# T42Task

**Kind**: interface | **Module**: [Outlook](https://docs.interop.io/adapters/reference/javascript/outlook/index.md)

**Source**: https://docs.interop.io/adapters/reference/javascript/outlook/t42task/index.html

This composite type describes a single task. The data stored in the object includes the subject, body and
optional extra values.

## Properties

- **`actualWork`** (`number`, required)
  The actual work done on the task, in minutes.
- **`attachments`** (`Attachment[]`, required)
  An array of identifiers for the attachments to the task.
- **`body`** (`string`, required)
  The body text of the task, formatted as a plain string.
- **`cookie`** (`string`, optional)
  The cookie of the task.
- **`creationTime`** (`Date`, required)
  The time at which the task was created, using local time for the sender.
- **`dateCompleted`** (`Date`, required)
  The time at which the task is due to be completed.
- **`dueDate`** (`Date`, required)
  The due time of the task.
- **`entityType`** (`number`, required)
  The entity type identifier for the task.
- **`ids`** (`T42Id[]`, required)
  The originator of the task.
- **`importance`** (`number`, optional)
  The importance of the task - 0 for low, 1 for normal and 2 for high.
- **`priority`** (`string`, required)
  The priority of the task.
- **`reminderTime`** (`Date`, required)
  The reminder time of the task.
- **`startDate`** (`Date`, required)
  The start date time of the task.
- **`subject`** (`string`, required)
  The subject field of the task.

## Related types

- [Attachment](https://docs.interop.io/adapters/reference/javascript/outlook/attachment/index.md)
- [T42Id](https://docs.interop.io/adapters/reference/javascript/outlook/t42id/index.md)
