Represents a task that is stored in Capsule. These are generally used as a simple way to create a reminder of something the user needs to do.
Tasks can be categorized for such things as a meeting, phone call or submission deadline using task categories and can be linked to a party, opportunity or project.
Name | Type | Description | |
---|---|---|---|
id | Long | Read only |
The unique id of this task. |
category | Category |
The category of this task. |
|
description | String | Required |
A short description of the task. |
detail | String |
More details about the task. |
|
dueTime | String |
The time (without a date element) when this task is due. Note that the time is in the user's timezone, and not UTC. |
|
status | String |
Specify whether this task is open, completed or pending. A task is pending when it was not completed by the user, but is not relevant anymore (i.e. linked to a closed opportunity). Accepted values are: |
|
party | Nested Party |
The party this task is linked to. Note that only one of |
|
opportunity | Nested Opportunity |
The opportunity this task is linked to. Note that only one of |
|
owner | Nested User |
The user this task is assigned to. |
|
daysAfter | Integer |
If this task is part of a track with a If this task is part of a track with a |
|
taskDelayRule | String |
For tasks that are part of a track, this indicates if the Accepted values are: |
|
nextTask | Nested Task |
For tasks that are part of a track, this represents the next task in the track. |
|
createdAt | Date | Read only |
The ISO date/time when this task was created. |
updatedAt | Date | Read only |
The ISO date/time when this task was last updated. |
dueOn | Date | Required |
The date (without a time element) when this task is due. |
completedBy | String | Read only |
The username of the user that completed this task. |
completedAt | Date |
The ISO date/time when this task was completed. By default, this will be the time of the request that marked the task as completed. However, if you provide offline capability, you might want to override this field when completing the task. |
|
kase | Nested Project |
The project this task is linked to. Note that only one of |
|
taskDayDelayRule | String |
For tasks that are part of a track, this indicates how the Accepted values are: |
|
repeat→frequency | String |
Represents if this task repeats every week, month or year. Accepted values are: |
|
repeat→interval | Integer |
Represents how often this task repeats (e.g. every |
|
repeat→on | String |
Represents the day of the week or month this task repeats on. Last day of the month is
represented as |
|
hasTrack | Boolean |
Determines if the task is part of a track that's been applied to the parent |