HaciendaOps

Update entire task

Updates an entire task object in the HaciendaOps instance.

Request URL

Method: PUT

URL: /task/{taskID}

Properties

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 string The status of the task
kaizen_notes string Details about task improvements

Content-Type: application/json

Request body


[
    {
        "id": 4,
        "title": "Morning irrigation",
        "description": "Water the plants in Garden A",
        "task_type": "Watering",
        "due_date": "2024-06-05",
        "completed": false,
        "kaizen_notes": "Consider changing to sunrise-only watering and reduce evaporation."
    }
]

Return body


[
    {
        "id": 4,
        "title": "Morning irrigation",
        "description": "Water the plants in Garden A",
        "task_type": "Watering",
        "due_date": "2024-06-05",
        "completed": false,
        "kaizen_notes": "Consider changing to sunrise-only watering and reduce evaporation."
    }
]

Responses