POST /areas/:area_id/objectives
Create an objective for the given area
Examples
curl -X POST "https://www.hoshinplan.com/areas/124234/objectives?app_key=<APP_KEY>×tamp=<TIMESTAMP>&signature=<SIGNATURE>" \ -H "Content-Type: application/json" \ -H "Accept: application/json" \ -d '{ "name": "My new objective", "description": "This is my objective created through the API", "responsible_id": 213312 }'
Params
Param name | Description |
---|---|
name optional |
Validations:
|
description optional |
Validations:
|
obj_pos optional |
Used to sort the objectives in the hoshin view Validations:
|
parent_id optional |
The id of the parent objective in the parent hoshin Validations:
|
responsible_id optional |
The id of the user that is responsible for this objective Validations:
|
Respuesta
Code: 201
Description:
The newly created objective
Param name | Description |
---|---|
id optional |
Validations:
|
name optional |
Validations:
|
description optional |
Validations:
|
created_at optional |
Validations:
|
updated_at optional |
Validations:
|
hoshin_id optional |
The id of the area this objective belongs to Validations:
|
area_id optional |
The id of the area this objective belongs to Validations:
|
company_id optional |
The id of the company this objective belongs to Validations:
|
obj_pos optional |
Used to sort the objectives in the hoshin view Validations:
|
parent_id optional |
The id of the parent objective in the parent hoshin Validations:
|
responsible_id optional |
The id of the user that is responsible for this objective Validations:
|
creator_id optional |
The id of the user that created this objective Validations:
|
neglected optional |
True if this objective has indicators below 100% and does not have any active tasks Validations:
|
blind optional |
True if this objective does not have any indicators Validations:
|
deleted_at optional |
The date when this objective was deleted Validations:
|