Tasks

Создать шаблон регулярной задачи

Changed on

Создаёт шаблон регулярной задачи.

post/api/v1/tasks/templates

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

TaskTemplateCreate required
section, string uuid required
status, string uuid
name, string required
title, string required
description, string
priority, 'none' | 'low' | 'medium' | 'high' | 'urgent'
executor, integer
assignee, integer
estimate, number
start_offset_days, integer
due_offset_days, integer
recurrence, 'daily' | 'weekly' | 'monthly' | 'yearly'
recurrence_interval, integer
recurrence_until, string
next_run_at, string
is_active, boolean
custom, object

Response

Созданный шаблон

TaskTemplate required
id, string uuid required
section, string uuid required
section_key, string nullable required
section_name, string nullable required
status, string uuid nullable required
status_name, string nullable required
owner, integer nullable required
name, string required
title, string required
description, string required
priority, 'none' | 'low' | 'medium' | 'high' | 'urgent' required
executor, integer nullable required
assignee, integer
executor_name, string nullable required
estimate, number nullable required
start_offset_days, integer required
due_offset_days, integer nullable required
recurrence, 'daily' | 'weekly' | 'monthly' | 'yearly' required
recurrence_interval, integer required
recurrence_until, string nullable required
next_run_at, string nullable required
last_run_at, string nullable required
last_task, string uuid nullable required
last_task_identifier, string nullable required
is_active, boolean required
custom, object 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

    7 more changes in this revision