Automation

Получить журнал прогонов автоматизаций

Changed on

Прогоны правил кабинета, свежие сверху: правило и его версия, событие и запись, статус, попытки, причина исхода кодом и словами (reason). Полей события (темы письма, отправителя) журнал не отдаёт.

get/api/v1/automation/runs

Request

  • Base URL
    https://erp.akeda.ru
  • Auth
    • HTTP bearer
    • or OAuth 2
      Authorization codehttps://erp.akeda.ru/oauth2/authorize
      Token URLhttps://erp.akeda.ru/oauth2/token
      Scopesakeda:delegate

Query parameters

rule_id, string uuid

Только прогоны этого правила

entity, string

Только прогоны одной записи — вместе с entity_id: сущность факта, например crm_deal или crm_lead

entity_id, string

Только прогоны одной записи — вместе с entity: id записи факта

limit, integer

Сколько строк; по умолчанию 50, не больше 200

locale, 'ru' | 'en'

Язык слов: ru или en; без него — по Accept-Language

Headers

X-Tenant, string required

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

Response

Журнал прогонов

object required
runs, AutomationRunReport[] 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

    3 more changes in this revision