Indicators
GET /indicators/:id
Get an indicator
Ejemplos
curl "https://www.hoshinplan.com/indicators/45544?app_key=<APP_KEY>×tamp=<TIMESTAMP>&signature=<SIGNATURE>" \ -H "Accept: application/json" Response: { "id": 45544, "name": "My indicator", "description": "This is my indicator created through the API", "value": "33.74", "frequency": "weekly", "next_update": "2021-08-08", "goal": "50.0", "created_at": "2021-07-08T18:20:01.530Z", "updated_at": "2021-07-30T11:19:33.893Z", "objective_id": 8786, "area_id": 4364, "ind_pos": 1, "last_update": "2021-08-01", "last_value": "39.6", "responsible_id": 252433, "company_id": 123420, "reminder": true, "worst_value": "30.0", "show_on_parent": false, "creator_id": 223553, "hoshin_id": 1235545, "show_on_charts": true, "parent_area_id": null, "parent_objective_id": null, "deleted_at": null }
Respuesta
Código HTTP: 200
Descripción:
OK
Nombre del parámetro | Descripción |
---|---|
name opcional |
Validations:
|
value opcional |
The current value for this indicator Validations:
|
description opcional |
Validations:
|
ind_pos opcional |
Used to sort the indicators in the hoshin view Validations:
|
frequency opcional |
The update frequency for this indicator Validations:
|
next_update opcional |
The date of the next desired update Validations:
|
goal opcional |
The value that would set this indicator to 100% Validations:
|
worst_value opcional |
The value that would set this indicator to 0% Validations:
|
reminder opcional |
Send email reminders to the owner when the next update date comes Validations:
|
show_on_parent opcional |
Show this indicator in the parent Hoshin Validations:
|
show_on_charts opcional |
Show this indicator in the Hoshin charts view Validations:
|
hoshin_id opcional |
The id of the area this indicator belongs to Validations:
|
area_id opcional |
The id of the area this indicator belongs to Validations:
|
company_id opcional |
The id of the company this indicator belongs to Validations:
|
creator_id opcional |
The id of the user that created this indicator Validations:
|
objective_id opcional |
The id of the objective this indicator belongs to Validations:
|
responsible_id opcional |
The id of the user that is responsible for this indicator Validations:
|
last_update opcional |
The timestamp of the last time this indicator was updated Validations:
|
last_value opcional |
The previous value for this indicator Validations:
|
created_at opcional |
Validations:
|
updated_at opcional |
Validations:
|
parent_objective_id opcional |
The id of the parent objective of the objective this indicator belongs to Validations:
|
parent_area_id opcional |
The id of the area of the parent objective of the objective this indicator belongs to Validations:
|
deleted_at opcional |
The date when this indicator was deleted Validations:
|
POST /objectives/:objective_id/indicators
Create an indicator for the given objective
Formatos soportados
json, xmlEjemplos
curl -X POST "https://www.hoshinplan.com/objectives/23423/indicators?app_key=<APP_KEY>×tamp=<TIMESTAMP>&signature=<SIGNATURE>" \ -H "Content-Type: application/json" \ -H "Accept: application/json" \ -d '{ "name": "My new indicator", "description": "This is my indicator created through the API", "responsible_id": 213312, "goal": "100", "worst_value": "0", "frequency": "weekly", "next_update": "2021-07-08T18:20:01.530Z" }'
Parámetros
Nombre del parámetro | Descripción |
---|---|
name opcional |
Validations:
|
value opcional |
The current value for this indicator Validations:
|
description opcional |
Validations:
|
ind_pos opcional |
Used to sort the indicators in the hoshin view Validations:
|
frequency opcional |
The update frequency for this indicator Validations:
|
next_update opcional |
The date of the next desired update Validations:
|
goal opcional |
The value that would set this indicator to 100% Validations:
|
worst_value opcional |
The value that would set this indicator to 0% Validations:
|
reminder opcional |
Send email reminders to the owner when the next update date comes Validations:
|
show_on_parent opcional |
Show this indicator in the parent Hoshin Validations:
|
show_on_charts opcional |
Show this indicator in the Hoshin charts view Validations:
|
objective_id opcional |
The id of the objective this indicator belongs to Validations:
|
responsible_id opcional |
The id of the user that is responsible for this indicator Validations:
|
Respuesta
Código HTTP: 201
Descripción:
The newly created indicator
Nombre del parámetro | Descripción |
---|---|
name opcional |
Validations:
|
value opcional |
The current value for this indicator Validations:
|
description opcional |
Validations:
|
ind_pos opcional |
Used to sort the indicators in the hoshin view Validations:
|
frequency opcional |
The update frequency for this indicator Validations:
|
next_update opcional |
The date of the next desired update Validations:
|
goal opcional |
The value that would set this indicator to 100% Validations:
|
worst_value opcional |
The value that would set this indicator to 0% Validations:
|
reminder opcional |
Send email reminders to the owner when the next update date comes Validations:
|
show_on_parent opcional |
Show this indicator in the parent Hoshin Validations:
|
show_on_charts opcional |
Show this indicator in the Hoshin charts view Validations:
|
hoshin_id opcional |
The id of the area this indicator belongs to Validations:
|
area_id opcional |
The id of the area this indicator belongs to Validations:
|
company_id opcional |
The id of the company this indicator belongs to Validations:
|
creator_id opcional |
The id of the user that created this indicator Validations:
|
objective_id opcional |
The id of the objective this indicator belongs to Validations:
|
responsible_id opcional |
The id of the user that is responsible for this indicator Validations:
|
last_update opcional |
The timestamp of the last time this indicator was updated Validations:
|
last_value opcional |
The previous value for this indicator Validations:
|
created_at opcional |
Validations:
|
updated_at opcional |
Validations:
|
parent_objective_id opcional |
The id of the parent objective of the objective this indicator belongs to Validations:
|
parent_area_id opcional |
The id of the area of the parent objective of the objective this indicator belongs to Validations:
|
deleted_at opcional |
The date when this indicator was deleted Validations:
|
DELETE /indicators/:id
Delete an indicator
Ejemplos
curl -X DELETE "https://www.hoshinplan.com/indicators/45544?app_key=<APP_KEY>×tamp=<TIMESTAMP>&signature=<SIGNATURE>" \ -H "Accept: application/json"
Respuesta
Código HTTP: 204
Descripción:
No Content
Nombre del parámetro | Descripción |
---|
PUT /indicators/:id
Update an indicator
Formatos soportados
json, xmlEjemplos
curl -X PUT "https://www.hoshinplan.com/indicators/45544?app_key=<APP_KEY>×tamp=<TIMESTAMP>&signature=<SIGNATURE>" \ -H "Content-Type: application/json" \ -H "Accept: application/json" \ -d '{ "value": "50" }'
Parámetros
Nombre del parámetro | Descripción |
---|---|
name opcional |
Validations:
|
value opcional |
The current value for this indicator Validations:
|
description opcional |
Validations:
|
ind_pos opcional |
Used to sort the indicators in the hoshin view Validations:
|
frequency opcional |
The update frequency for this indicator Validations:
|
next_update opcional |
The date of the next desired update Validations:
|
goal opcional |
The value that would set this indicator to 100% Validations:
|
worst_value opcional |
The value that would set this indicator to 0% Validations:
|
reminder opcional |
Send email reminders to the owner when the next update date comes Validations:
|
show_on_parent opcional |
Show this indicator in the parent Hoshin Validations:
|
show_on_charts opcional |
Show this indicator in the Hoshin charts view Validations:
|
objective_id opcional |
The id of the objective this indicator belongs to Validations:
|
responsible_id opcional |
The id of the user that is responsible for this indicator Validations:
|
Respuesta
Código HTTP: 200
Descripción:
The updated indicator
Nombre del parámetro | Descripción |
---|---|
name opcional |
Validations:
|
value opcional |
The current value for this indicator Validations:
|
description opcional |
Validations:
|
ind_pos opcional |
Used to sort the indicators in the hoshin view Validations:
|
frequency opcional |
The update frequency for this indicator Validations:
|
next_update opcional |
The date of the next desired update Validations:
|
goal opcional |
The value that would set this indicator to 100% Validations:
|
worst_value opcional |
The value that would set this indicator to 0% Validations:
|
reminder opcional |
Send email reminders to the owner when the next update date comes Validations:
|
show_on_parent opcional |
Show this indicator in the parent Hoshin Validations:
|
show_on_charts opcional |
Show this indicator in the Hoshin charts view Validations:
|
hoshin_id opcional |
The id of the area this indicator belongs to Validations:
|
area_id opcional |
The id of the area this indicator belongs to Validations:
|
company_id opcional |
The id of the company this indicator belongs to Validations:
|
creator_id opcional |
The id of the user that created this indicator Validations:
|
objective_id opcional |
The id of the objective this indicator belongs to Validations:
|
responsible_id opcional |
The id of the user that is responsible for this indicator Validations:
|
last_update opcional |
The timestamp of the last time this indicator was updated Validations:
|
last_value opcional |
The previous value for this indicator Validations:
|
created_at opcional |
Validations:
|
updated_at opcional |
Validations:
|
parent_objective_id opcional |
The id of the parent objective of the objective this indicator belongs to Validations:
|
parent_area_id opcional |
The id of the area of the parent objective of the objective this indicator belongs to Validations:
|
deleted_at opcional |
The date when this indicator was deleted Validations:
|