POST /hoshins/:hoshin_id/areas
Create an area for the given Hoshin
Ejemplos
curl -X POST "https://www.hoshinplan.com/hoshins/12423/areas?app_key=<APP_KEY>×tamp=<TIMESTAMP>&signature=<SIGNATURE>" \ -H "Content-Type: application/json" \ -H "Accept: application/json" \ -d '{ "name": "My new area", "description": "This is my area created through the API", "color": "#DAF3F8" }'
Parámetros
Nombre del parámetro | Descripción |
---|---|
name opcional |
Validations:
|
description opcional |
Validations:
|
position opcional |
Used to sort the areas in the hoshin view Validations:
|
color opcional |
The color of the postits for this area in the kanban view Validations:
|
Respuesta
Código HTTP: 201
Descripción:
The newly created area
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 area belongs to Validations:
|
company_id opcional |
The id of the company this area belongs to Validations:
|
position opcional |
Used to sort the areas in the hoshin view Validations:
|
creator_id opcional |
The id of the user that created this area Validations:
|
color opcional |
The color of the postits for this area in the kanban view Validations:
|