Marketplace usage

Получить время в разделах маркетплейсов

Changed on

Сколько времени кабинет провёл в каждом разделе каждой площадки за окно и сколько раз его открывал — по кабинету в целом, без разбивки по сотрудникам. share_pct — доля времени раздела среди всех разделов этой площадки (сумма по площадке — 100). Из этого строятся порядок и доля на плитках листа «Площадки»; та же сводка показывает, какими разделами пользуются, а какими нет.

get/api/v1/marketplace/usage

Request

  • Base URL
    https://erp.akeda.ru
  • Auth
    • HTTP bearer
    • or API key in header X-Api-Key
    • or OAuth 2
      Authorization codehttps://erp.akeda.ru/oauth2/authorize
      Token URLhttps://erp.akeda.ru/oauth2/token
      Scopesakeda:delegate
    • or HTTP bearer

Query parameters

days, integer

Окно в днях по сегодня (Москва), 1–366; по умолчанию 30

Headers

X-Tenant, string required

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

Response

Время в разделах за окно

MarketplaceSectionUsageList required

Время в разделах кабинета за окно

days, integer required

Окно в днях

count, integer required

Сколько строк «площадка × раздел»

results, MarketplaceSectionUsage[] 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