Tasks

Запустить все шаблоны, срок которых наступил

Changed on

Повторный вызов идемпотентен по окну запуска шаблона.

post/api/v1/tasks/templates/run-due

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 выбранного кабинета; кабинет не является юрлицом

Response

Результаты запусков

TemplateRunPage required
count, integer required
results, TemplateRunResult[] required

Changes

    • info

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

    • info

      added the optional property results/items/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

    5 more changes in this revision