Updates a task
object’s status specified by the completed
parameter.
Method: PATCH
URL: /task/{taskId}
Property name | Type | Description |
---|---|---|
id |
integer | The task’s unique record ID |
title |
string | The title of the task |
description |
string | A short description of the task |
task_type |
string | The task’s category |
due_date |
string | The ISO 8601 format of the date and time the task is due |
completed |
boolean | The status of the task |
kaizen_notes |
string | Details about task improvements |
Content-Type: application/json
[
{
"completed": true
}
]
[
{
"id": 1,
"title": "Morning irrigation",
"description": "Water the plants in Garden A",
"task_type": "Watering",
"due_date": "2024-06-05",
"completed": true,
"kaizen_notes": "Consider changing to sunrise-only watering and reduce evaporation."
}
]