Add a task type linked to a production.

POST /data/projects/{project_id}/settings/task-types

Path parameters

  • project_id string(uuid) Required
application/x-www-form-urlencoded

Body Required

  • task_type_id string(uuid) Required
  • priority string

    Default value is None.

Responses

  • 201 application/json

    Task type added to production

    Hide response attributes Show response attributes object
    • id string(uuid)
    • name string
  • 400

    Invalid parameters

  • 404

    Project or task type not found

POST /data/projects/{project_id}/settings/task-types
curl \
 --request POST 'http://api.example.com/data/projects/a24a6ea4-ce75-4665-a070-57453082c25/settings/task-types' \
 --header "Authorization: $API_KEY" \
 --header "Content-Type: application/x-www-form-urlencoded" \
 --data 'task_type_id=a24a6ea4-ce75-4665-a070-57453082c25&priority=None'
Response examples (201)
{
  "id": "string",
  "name": "string"
}