CRM leads

Получить счётчики CRM для верхней панели

Changed on

Значки рядом с разделом CRM в верхней панели: лиды в очереди разбора, которые читающему видны, и его собственные просроченные дела. Непрочитанные упоминания считает центр уведомлений.

get/api/v1/crm/counters

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

Счётчики CRM

CRMCounters required
new_leads, integer required

Лиды в очереди разбора: статус new вне архива, видимые читающему

overdue_engagements, integer 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