Task Resource

A task is a message type resource that represents an assignable task within a network. Tasks can be assigned to recipients, tracked, and marked as completed or ongoing.

Changelog

2025.0.0
  • Initial task management API documentation.

Endpoints

Representations

JSON Properties

NameTypeDescription
EIDEIDUnique entity identifier
titlestringThe title of the task
taskTypestringThe type of the task. One of: associated, individual, shared, split
authorobjectThe author/creator of the task
author.EIDEIDEID of the author
recipientsarrayList of recipient objects (users, groups, or network)
recipients[i].EIDEIDEID of the recipient
recipients[i].typestringuser, group, or network
completedbooleanRead-only Whether the task has been completed
completedAtdatetimeRead-only The date and time when the task was completed
completedByobjectRead-only The user who completed the task
numAssigneesintegerRead-only The number of assignees for this task
numCompletedintegerRead-only The number of assignees who have completed this task
dueDatedatetimeThe due date for the task
createddatetimeRead-only The date the task was created
attachmentsarrayList of attachments associated with the task
RelationResourceDescription
recipientsrecipientRecipients
attachmentsattachmentAttachments
authoruserTask author
completedByuserUser who completed the task
assigneesuserTask assignees

Example (task)

{
    "_links": {
        "recipients": [
            {
                "href": "/networks/FEDCBA0987654321/users/1234567890ABCDEF/"
            }
        ],
        "attachments": {
            "href": "/networks/FEDCBA0987654321/messages/?eid=1234567890ABCDEF"
        },
        "assignees": {
            "href": "/networks/FEDCBA0987654321/messages/1234567890ABCDEF/assignees/"
        },
        "self": {
            "href": "/networks/FEDCBA0987654321/tasks/1234567890ABCDEF/"
        }
    },
    "EID": "1234567890ABCDEF",
    "title": "Pick up delivery",
    "taskType": "individual",
    "author": {
        "EID": "1234567890FEDCAB"
    },
    "recipients": [
        {
            "EID": "ABCDEF1234567890",
            "type": "user"
        }
    ],
    "completed": false,
    "completedAt": null,
    "completedBy": null,
    "numAssignees": 1,
    "numCompleted": 0,
    "dueDate": "2025-01-20T17:00:00.000+00:00",
    "created": "2025-01-15T10:30:00.000+00:00",
    "attachments": []
}