Getting all unsubscribed subscribers of a list (apiGetSubscriberUnsubscribes)
Mittels dieser Funktion rufen Sie alle abgemeldeten Empfänger einer Liste ab. Diese Funktion erwartet als Parameter eine Listen ID. Diese Funktion liefert nur die E-Mailadresse.
Request
Name | Type | Example | Required | Comment |
---|---|---|---|---|
listID | Integer | 123456789 | apiGetList() delivers all possible List IDs. | |
start | Integer | 0 | ||
count | Integer | 100 | limited to 100 |
Response
[subsriberResponse] => Array ( [0] => stdClass Object ( [subscriberID] => 123456789 [subscriberEmail] => joe.smith@example.com [subscriberTimestampSubscribe] => 1395692130 [subscriberTimestampUnsubscribe] => 1413447945 ) [...] )
Error Response
Name | Type | Example | Required | Comment |
---|---|---|---|---|
listID | Integer | 123456789 | apiGetList() delivers all possible List IDs. | |
start | Integer | 0 | ||
count | Integer | 100 | limited to 100 |
PHP5 Beispiel
try{ $request = array( 'start'=> 0, 'count'=> 100, 'listID'=> 123456, ); $response=$client->apiGetSubscriberUnsubscribes($request); } catch (SoapFault $exception) { echo ($exception->getMessage()); }