function CampaignMonitor::clientCreate in Campaign Monitor 5.2
Same name and namespace in other branches
- 6.3 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 1069
Class
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,
),
));
}