Tasks

Создать документ задачи или проекта

Changed on

Создаёт документ задачи или проекта.

post/api/v1/tasks/documents

Request

  • Base URL
    https://erp.akeda.ru
  • Auth
    • HTTP bearer
    • or API key in header X-Api-Key
    • or OAuth 2
      Authorization codehttps://erp.akeda.ru/oauth2/authorize
      Token URLhttps://erp.akeda.ru/oauth2/token
      Scopesakeda:delegate
    • or HTTP bearer

Headers

X-Tenant, string required

Slug выбранного кабинета; кабинет не является юрлицом

Request body

DocumentCreate required

Владелец задаётся одной ссылкой task, section, project, milestone либо парой owner_type/owner_id.

owner_type, 'task' | 'section' | 'project' | 'milestone'
owner_id, string
task, string
section, string
project, string
milestone, string
title, string required
content, string
icon, string
color, string
author, integer

Response

Созданный документ

TaskDocument required
id, string uuid required
owner_type, 'task' | 'section' | 'project' | 'milestone' required
owner_id, string uuid required
owner_key, string required
owner_name, string required
author_id, integer nullable required
author_name, string required
title, string required
content, string required
icon, string required
color, string required
is_archived, boolean required
created_at, string required
updated_at, string required

Changes

    • info

      added the optional property field to the response with the status

    • info

      added the optional property field to the response with the status

    • info

      added the optional property field to the response with the status

    5 more changes in this revision