Skip to content

AnalyticsChartRequestParam

← Analytics DTO

Query parameters for a chart request.

from/to are calendar dates (YYYY-MM-DD) resolved in the analytics time zone (Europe/Berlin), and to is inclusive. Buckets are cut in that same zone.

region is an ISO 3166-2 code (DE-BE). It does not apply to e-mail metrics, so the e-mail chart ignores it.

Поля

ПолеТипОбязательноеОписание
fromstringда
tostringда
regionstringнет
granularityAnalyticsGranularityDtoнет

Пример

json
{
  "from": "2026-05-05T08:00:00Z",
  "to": "2026-05-05T08:00:00Z",
  "region": "string",
  "granularity": "<AnalyticsGranularityDto>"
}