TotalByInterval.Retrieve

Overview

Returns tracking data related to an initialized triggered send specified by type, duration, and interval

Syntax

TotalByInterval.Retrieve(1, 2, 3, 4)

Function Properties

OrdinalTypeDescription
1stringRequiredType of data to aggregate and return. Valid values include Send, Open, CLick, Bounce, and Unsubscribe.
2datetimeRequiredStart date for data period
3datetimeRequiredEnd date for data period
4stringRequiredInterval used to aggregate data. Valid values include day and hour.

Example

This sample code returns a month's worth of click data for the initialized triggered send aggregated by day: