Add Task
This API allows to edit existing task and set properties like assignee, priority, and status
PUT
https://api.zira.us/public/tasks/[taskId]
Payload example
{
name: "Updated Task Title",
description: "Meter 1 - Water supply, Meter 2 - Waste water",
dueDate: "2023-07-02T23:59:59",
assigneeId: "1998",
priorityId: "10",
toChannelId: "14728"
}
Query Params
Property | Required | Type | Example | Description |
---|---|---|---|---|
name | false | String | "Fix Conveyor Belt" | Task title |
toChannelId | false | String | "16473" | 5 - To Do 10 - In Progress 15 - On Hold 20 - Done 25 - Cancelled " |
statusId | false | String | "5" | 5 - To Do 10 - In Progress 15 - On Hold 20 - Done 25 - Cancelled |
priorityId | false | String | "10" | 5 - Low 10 - Medium 15 - High |
assigneeId | false | String | "12342" | User ID of a person to assign the new task to. |
dueDate | false | Date/Time | "2023-07-02T23:59:59" | Due date of the task Expected format: YYYY-MM-DDTHH:mm:ss |
Related docs
Add Task
Learn how to add a task using our API.