CRM analytics

Планы продаж на месяц

Changed on

Аналитика показывает факт; план даёт ответ, хороший месяц или плохой. Период не назван - текущий месяц.

get/api/v1/crm/sales-plans

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

period, string

YYYY-MM или YYYY-MM-DD

Headers

X-Tenant, string required

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

Response

Планы месяца

CRMSalesPlan[] required
id, string uuid required
owner_id, integer
owner_name, string
period, string date required

Первое число месяца

amount, string required

Сумма десятичной строкой: «19990.50». Разрядность берёт валюта (MONEY-ROUNDING.md)

currency, string 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