Tasks

Немедленно создать задачу из шаблона

Changed on

Немедленно создаёт задачу из указанного шаблона.

post/api/v1/tasks/templates/{id}/run

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

Path parameters

id, string uuid required

Headers

X-Tenant, string required

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

Response

Результат запуска

TemplateRunResult required
template, TaskTemplate required
task, Task nullable required
created, boolean required
reason, string

Changes

    • info

      added the optional property task/oneOf[#/components/schemas/Task]/require_result to the response with the status

    • info

      added the optional property task/oneOf[#/components/schemas/Task]/results_count to the response with the status

    • info

      added the optional property field to the response with the status

    9 more changes in this revision