Dashboard metrics

Рассчитать снимок показателя

Changed on

Готовый результат владельца за from/to с фильтром юрлица и проекта. Деньги передаются строками с валютой; пустая величина неизвестна. as_of означает время расчёта, а не свежесть выгрузки внешнего поставщика. Ответ ограничен форматом карточки, а не заменяет полный отчёт. До расчёта и выдачи повторно проверяются текущий доступ сотрудника к модулю-владельцу и подключение этого модуля. Токен виджета открывает только эту витрину и не выдаёт сотруднику новых прав.

get/api/v1/dashboard/metrics/{id}/snapshot

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 required

Query parameters

from, string date required
to, string date required
company, string uuid
project, string uuid

Headers

X-Tenant, string required

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

Response

Снимок показателя

DashboardMetricSnapshot required
id, string required
template, 'amount' | 'trend' | 'rows' | 'tiles' | 'bars' | 'table' required
title, string required
value, string required
currency, string required
caption, string required
as_of, string date-time required
deeplink, string required
points, object[] required
rows, object[] required
tiles, object[] required
bars, object[] required
columns, object[] required
table, object[] 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