Get aggregated statistic intervals.
GET {{baseUrl}}/marketing/v3/emails/statistics/histogram?interval=YEAR&startTimestamp=<string>&endTimestamp=<string>&emailIds=<long>&emailIds=<long>
Get aggregated statistics in intervals for a specified time span. Each interval contains aggregated statistics of the emails that were sent in that time.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
interval | string | The interval to aggregate statistics for. | |
startTimestamp | string | The start timestamp of the time span, in ISO8601 representation. | |
endTimestamp | string | The end timestamp of the time span, in ISO8601 representation. | |
emailIds | string | Filter by email IDs. Only include statistics of emails with these IDs. | |
emailIds | string | Filter by email IDs. Only include statistics of emails with these IDs. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"results":[{"aggregations":{"counters":{"nostrudf":"\u003clong\u003e"},"deviceBreakdown":{"enim__1":{"ea_d":"\u003clong\u003e","consectetur_bfa":"\u003clong\u003e","nisid5":"\u003clong\u003e"},"proident52":{"tempor_0":"\u003clong\u003e","laborum_2":"\u003clong\u003e","tempor387":"\u003clong\u003e"},"eiusmod_3":{"Excepteur0":"\u003clong\u003e"}},"qualifierStats":{"ea_58d":{"deseruntb7":"\u003clong\u003e"},"incididunt6":{"Excepteurc":"\u003clong\u003e","adipisicing_58":"\u003clong\u003e"},"ex_cf":{"Lorem_7":"\u003clong\u003e","utf_":"\u003clong\u003e"}},"ratios":{"cupidatatb01":"\u003cnumber\u003e"}},"interval":{"end":"\u003cdateTime\u003e","start":"\u003cdateTime\u003e"}},{"aggregations":{"counters":{"voluptate2c6":"\u003clong\u003e","ea_447":"\u003clong\u003e"},"deviceBreakdown":{"in_752":{"minim25":"\u003clong\u003e","Duisbd0":"\u003clong\u003e"}},"qualifierStats":{"Duis_09":{"anim0":"\u003clong\u003e","veniam_52c":"\u003clong\u003e","aute_a5":"\u003clong\u003e","eiusmod_2":"\u003clong\u003e"}},"ratios":{"deserunt_1":"\u003cnumber\u003e","irureece":"\u003cnumber\u003e"}},"interval":{"end":"\u003cdateTime\u003e","start":"\u003cdateTime\u003e"}}],"total":"\u003cinteger\u003e"}