Add a new list (apiAddList)
Use this function to set a new subscriber list.
Request
| Name | Type | Example | Required | Comment |
|---|---|---|---|---|
| listName | String | New List | yes | |
| listDescription | String | List Description | no |
Error Response
| Code | Interpretation |
|---|---|
| 404 | No list name was passed. |
PHP Example
try{
$request = array(
'listName'=> 'Neue List',
'listDescription'=> 'List Description',
);
$response=$client->apiAddList($request);
}
catch (SoapFault $exception) {
echo ($exception->getMessage());
}