TotalByInterval.Retrieve
Returns tracking data related to an initialized triggered send specified by type, duration, and interval
TotalByInterval.Retrieve(1, 2, 3, 4)
| Ordinal | Type | Description | |
|---|---|---|---|
| 1 | string | Required | Type of data to aggregate and return. Valid values include Send, Open, CLick, Bounce, and Unsubscribe. |
| 2 | datetime | Required | Start date for data period |
| 3 | datetime | Required | End date for data period |
| 4 | string | Required | Interval used to aggregate data. Valid values include day and hour. |
This sample code returns a month's worth of click data for the initialized triggered send aggregated by day: