RetrieveLists
Retrieves information about the list or lists targeted by a send.
RetrieveLists(searchCriteria)
The RetrieveLists()
function has the properties listed in this table.
Property | Type | Description |
---|---|---|
searchCriteria | Object | Required. Criteria used to search for triggered send. |
The searchCriteria
object has the properties listed in this table.
Name | Type | Description |
---|---|---|
property | String | Required. The name of the field to use in the comparison. |
simpleOperator | String | Required. The comparison operator to use in the query. Possible values are:
|
value | String, number, boolean, or array | The value to compare the specified field to. |
To use the RetrieveLists()
function, include a filter that restricts the results to the ID of a send or multiple sends. This example shows how to retrieve the lists targeted by a single send.