PUT /tasks/:id
Update a task
Formatos soportados
json, xmlEjemplos
curl -X PUT "https://www.hoshinplan.com/tasks/45544?app_key=<APP_KEY>×tamp=<TIMESTAMP>&signature=<SIGNATURE>" \ -H "Content-Type: application/json" \ -H "Accept: application/json" \ -d '{ "status": "completed" }'
Parámetros
Nombre del parámetro | Descripción |
---|---|
name opcional |
Validations:
|
tsk_pos opcional |
Used to sort the tasks in the hoshin view Validations:
|
lane_pos opcional |
Used to sort the tasks in the kanban view Validations:
|
objective_id opcional |
The id of the objective this task belongs to Validations:
|
responsible_id opcional |
The id of the user that is responsible for this task Validations:
|
description opcional |
Validations:
|
deadline opcional |
Validations:
|
show_on_parent opcional |
Show this task in the parent Hoshin Validations:
|
reminder opcional |
Send email reminders to the owner when the deadline comes Validations:
|
feeling opcional |
How you are feeling about completing this task as planned Validations:
|
status opcional |
Validations:
|
Respuesta
Código HTTP: 200
Descripción:
The updated task
Nombre del parámetro | Descripción |
---|---|
id opcional |
Validations:
|
name opcional |
Validations:
|
original_deadline opcional |
Validations:
|
created_at opcional |
Validations:
|
updated_at opcional |
Validations:
|
tsk_pos opcional |
Used to sort the tasks in the hoshin view Validations:
|
lane_pos opcional |
Used to sort the tasks in the kanban view Validations:
|
hoshin_id opcional |
The id of the area this task belongs to Validations:
|
area_id opcional |
The id of the area this task belongs to Validations:
|
company_id opcional |
The id of the company this task belongs to Validations:
|
creator_id opcional |
The id of the user that created this task Validations:
|
objective_id opcional |
The id of the objective this task belongs to Validations:
|
responsible_id opcional |
The id of the user that is responsible for this task Validations:
|
description opcional |
Validations:
|
deadline opcional |
Validations:
|
show_on_parent opcional |
Show this task in the parent Hoshin Validations:
|
parent_objective_id opcional |
The id of the parent objective of the objective this task belongs to Validations:
|
parent_area_id opcional |
The id of the area of the parent objective of the objective this task belongs to Validations:
|
reminder opcional |
Send email reminders to the owner when the deadline comes Validations:
|
feeling opcional |
How you are feeling about completing this task as planned Validations:
|
status opcional |
Validations:
|
deleted_at opcional |
The date when this task was deleted Validations:
|