zira logo

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

PropertyRequiredTypeExampleDescription
name falseString"Fix Conveyor Belt"Task title
toChannelId falseString"16473"5 - To Do
10 - In Progress
15 - On Hold
20 - Done
25 - Cancelled "
statusId falseString"5"5 - To Do
10 - In Progress
15 - On Hold
20 - Done
25 - Cancelled
priorityId falseString"10"5 - Low
10 - Medium
15 - High
assigneeId falseString"12342"User ID of a person to assign the new task to.
dueDate falseDate/Time"2023-07-02T23:59:59"Due date of the task Expected format: YYYY-MM-DDTHH:mm:ss