Skip to content

Instantly share code, notes, and snippets.

@pifantastic
Created July 20, 2011 22:36
Show Gist options
  • Save pifantastic/1096101 to your computer and use it in GitHub Desktop.
Save pifantastic/1096101 to your computer and use it in GitHub Desktop.
<?php
try {
$list = new ExactTarget_List();
$list->ListName = "Aaron's test list";
$list->Description = "Aaron is now testing the API!";
$exact_target = ExactTarget::instance('SOAP')->create($list);
}
catch (ExactTarget_Exception $e) {
krumo($e);
}
catch (SoapFault $e) {
krumo($e);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment