PUT /objectives/:id
Update an objective
Formatos soportados
json, xmlEjemplos
curl -X PUT "https://www.hoshinplan.com/objectives/32423?app_key=<APP_KEY>×tamp=<TIMESTAMP>&signature=<SIGNATURE>" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"description": "The new description"
}'
Parámetros
| Nombre del parámetro | Descripción |
|---|---|
|
name opcional |
Validations:
|
|
description opcional |
Validations:
|
|
obj_pos opcional |
Used to sort the objectives in the hoshin view Validations:
|
|
parent_id opcional |
The id of the parent objective in the parent hoshin Validations:
|
|
responsible_id opcional |
The id of the user that is responsible for this objective Validations:
|
Respuesta
Código HTTP: 200
Descripción:
The updated objective
| Nombre del parámetro | Descripción |
|---|---|
|
id opcional |
Validations:
|
|
name opcional |
Validations:
|
|
description opcional |
Validations:
|
|
created_at opcional |
Validations:
|
|
updated_at opcional |
Validations:
|
|
hoshin_id opcional |
The id of the area this objective belongs to Validations:
|
|
area_id opcional |
The id of the area this objective belongs to Validations:
|
|
company_id opcional |
The id of the company this objective belongs to Validations:
|
|
obj_pos opcional |
Used to sort the objectives in the hoshin view Validations:
|
|
parent_id opcional |
The id of the parent objective in the parent hoshin Validations:
|
|
responsible_id opcional |
The id of the user that is responsible for this objective Validations:
|
|
creator_id opcional |
The id of the user that created this objective Validations:
|
|
neglected opcional |
True if this objective has indicators below 100% and does not have any active tasks Validations:
|
|
blind opcional |
True if this objective does not have any indicators Validations:
|
|
deleted_at opcional |
The date when this objective was deleted Validations:
|