import { PatchV2TasksTaskIdData } from "attio-js/models/operations/patchv2taskstaskid.js";
let value: PatchV2TasksTaskIdData = {
deadlineAt: "2023-01-01T15:00:00.000000000Z",
isCompleted: false,
linkedRecords: [
{
targetObject: "people",
slugOrIdOfMatchingAttribute: [
{
originalPhoneNumber: "07234172834",
countryCode: "GB",
},
],
},
],
assignees: [
{
referencedActorType: "workspace-member",
referencedActorId: "50cf242c-7fa3-4cad-87d0-75b1af71c57b",
},
],
};
Field |
Type |
Required |
Description |
Example |
deadlineAt |
string |
➖ |
The deadline of the task, in ISO 8601 format. |
2023-01-01T15:00:00.000000000Z |
isCompleted |
boolean |
➖ |
Whether the task has been completed. |
false |
linkedRecords |
operations.PatchV2TasksTaskIdLinkedRecordUnion[] |
➖ |
Records linked to the task. Creating record links within task content text is not possible via the API at present. |
|
assignees |
operations.PatchV2TasksTaskIdAssigneeUnion[] |
➖ |
Workspace members assigned to this task. |
|