function MCAPI::listAbuseReports in Mailchimp 6.2
Same name and namespace in other branches
- 7 MCAPI.class.php \MCAPI::listAbuseReports()
Get all email addresses that complained about a given campaign
Related
@example mcapi_listAbuseReports.php
@returnf string date date/time the abuse report was received and processed @returnf string email the email address that reported abuse @returnf string campaign_id the unique id for the campaign that reporte was made against @returnf string type an internal type generally specifying the orginating mail provider - may not be useful outside of filling report views
Parameters
string $id the list id to pull abuse reports for (can be gathered using lists()):
integer $start optional for large data sets, the page number to start at - defaults to 1st page of data (page 0):
integer $limit optional for large data sets, the number of results to return - defaults to 500, upper limit set at 1000:
string $since optional pull only messages since this time - use YYYY-MM-DD HH:II:SS format in <strong>GMT</strong>:
Return value
array reports the abuse reports for this campaign
File
- ./
MCAPI.class.php, line 1657
Class
Code
function listAbuseReports($id, $start = 0, $limit = 500, $since = NULL) {
$params = array();
$params["id"] = $id;
$params["start"] = $start;
$params["limit"] = $limit;
$params["since"] = $since;
return $this
->callServer("listAbuseReports", $params);
}