CRM automation

Повторить неуспешный запуск

Changed on

Уже выполненные действия запуска не повторяются.

post/api/v1/crm/automation/runs/{id}/retry

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

Path parameters

id, string uuid required

Headers

X-Tenant, string required

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

Response

Запуск, поставленный в очередь заново

CRMAutomationRun required
id, string uuid required
rule_id, string uuid required
event_id, string uuid required
rule_name, string

Имя правила — журнал отвечает, что сработало

event_type, string

Событие, вызвавшее запуск

entity_type, string

lead или deal — по какой записи был запуск

entity_id, string uuid
status, 'queued' | 'running' | 'success' | 'failed' | 'skipped' required
attempts, integer required
action_errors, string[] nullable required
created_at, string date-time required
updated_at, string date-time 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

    5 more changes in this revision