CRM automation

Получить правило автоматизации

Возвращает указанное правило автоматизации CRM.

get/api/v1/crm/automation/rules/{id}

Request

  • Base URL: https://erp.akeda.ru
  • URL: https://erp.akeda.ru/api/v1/crm/automation/rules/{id}
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://erp.akeda.ru/oauth2/authorize, token URL https://erp.akeda.ru/oauth2/token, scopes: akeda:delegate)

Response

Правило

idstring uuid required
namestring required
event_type'lead.created' | 'lead.qualified' | 'deal.created' | 'deal.stage_changed' | 'inbox.message_received' required
conditionsobject nullable required

Допустимые ключи - status, stage_id, owner_id

is_enabledboolean required
created_byinteger required
created_atstring date-time required
updated_atstring date-time required
adopted_atstring date-time

Правило перенесено на общий движок: события после этого момента исполняет правило adopted_rule_id; здесь оно не правится (409)

adopted_rule_idstring uuid

Changes

No recorded changes to this operation across all 1 revision of this API.