GET /goals/:id
Get a long term goal
Ejemplos
curl "https://www.hoshinplan.com/goals/45544?app_key=<APP_KEY>×tamp=<TIMESTAMP>&signature=<SIGNATURE>" \
-H "Accept: application/json"
Response:
{
"id": 21344,
"name": "My goal",
"created_at": "2021-01-28T18:28:23.492Z",
"updated_at": "2021-01-29T09:21:33.533Z",
"hoshin_id": 1234,
"position": 1,
"company_id": 2345234,
"creator_id": 234234,
"deleted_at": null
}
Respuesta
Código HTTP: 200
Descripción:
OK
| Nombre del parámetro | Descripción |
|---|---|
|
id opcional |
Validations:
|
|
name opcional |
Validations:
|
|
created_at opcional |
Validations:
|
|
updated_at opcional |
Validations:
|
|
hoshin_id opcional |
The id of the area this goal belongs to Validations:
|
|
company_id opcional |
The id of the company this objective belongs to Validations:
|
|
position opcional |
Used to sort the goals in the hoshin view Validations:
|