Getting details of a list (apiGetListDetails)
This function provides you with more information about a single list. The name, the description, and the number of logins and logouts are specified.
Request
| Name | Type | Example | Required | Comment |
|---|---|---|---|---|
| listID | Integer | 123456789 | apiGetList() delivers all possible List IDs. |
Response
stdClass Object
(
[listResponse] => stdClass Object
(
[listID] => 123456789
[listName] => Test List
[listDescription] => Test Description
[listSubscriber] => 5000
[listUnsubscriber] => 1000
)
[status] => 200
)
Error Response
| Code | Interpretation |
|---|---|
| 404 | No valid List IDs were passed. |
PHP5 Example
try{
$request = array(
'listID'=> 123456789,
);
$response=$client->apiGetListDetails($request);
}
catch (SoapFault $exception) {
echo ($exception->getMessage());
}