AMPscript
Retrieve
Validate Your Server-Side JavaScript using WSProxy
Retrieves information about events occurring related to a message send
Retrieve(1)
| Ordinal | Type | Description | |
|---|---|---|---|
| 1 | string | Required | Criteria used to search for event |
The information can include these events:
The sample code retrieves the bounce events for a given send based on the criteria provided:
1var sendID = 12345;
2var filter = { Property:"SendID", SimpleOperator:"equals", Value:sendID };
3var bounces = BounceEvent.Retrieve(filter);