Automation

Получить правила автоматизаций кабинета

Changed on

Правила кабинета документами «когда → если → то» в той же форме, что сохраняет конструктор: событие, условие сравнениями, действия со входами, исполнитель, включено ли, версия. Ассистент смотрит их, прежде чем предложить новое правило, — чтобы не собрать второе такое же. Только чтение.

get/api/v1/automation/rules

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

Headers

X-Tenant, string required

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

Response

Правила кабинета

object required
rules, AutomationRuleDocument[] 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 reason to the response with the status

    1 more change in this revision