function CampaignMonitor::clientCreate in Campaign Monitor 6.3
Same name and namespace in other branches
- 5.2 lib/CMBase.php \CampaignMonitor::clientCreate()
- 6.2 lib/CMBase.php \CampaignMonitor::clientCreate()
*
Parameters
string $companyName (CompanyName) Company name of the client to be added: * @param string $contactName (ContactName) Contact name of the client to be added * @param string $emailAddress (EmailAddress) Email Address of the client to be added * @param string $country (Country) Country of the client to be added * @param string $timezone (Timezone) Timezone of the client to be added * @return mixed A parsed response from the server, or null if something failed. * @see http://www.campaignmonitor.com/api/method/client-create/
File
- lib/
CMBase.php, line 995
Class
- CampaignMonitor
- The new CampaignMonitor class that now extends from CMBase. This should be backwards compatible with the original (PHP5) version.
Code
function clientCreate($companyName, $contactName, $emailAddress, $country, $timezone) {
return $this
->makeCall('Client.Create', array(
'params' => array(
'CompanyName' => $companyName,
'ContactName' => $contactName,
'EmailAddress' => $emailAddress,
'Country' => $country,
'Timezone' => $timezone,
),
));
}