function createTemplate($name, $subject, $htmlBody, $textBody) {
		$template = array();
		$template["name"] = $name;
		$template["subject"] = $subject;
		$template["htmlBody"] = $htmlBody;
		$template["textBody"] = $textBody;
		return new DynamicResponseModel($this->processRestRequest('POST', "/templates", $template));
	}
function createTemplate($name, $subject, $htmlBody, $textBody) {
		$template = array();
		$template["name"] = $name;
		$template["subject"] = $subject;
		$template["htmlBody"] = $htmlBody;
		$template["textBody"] = $textBody;
		return new DynamicResponseModel($this->processRestRequest('POST', "/templates", $template));
	}
function createTemplate ( $ name , $ subject , $ htmlBody , $ textBody ) { $ template = array ( ) ; $ template [ "name" ] = $ name ; $ template [ "subject" ] = $ subject ; $ template [ "htmlBody" ] = $ htmlBody ; $ template [ "textBody" ] = $ textBody ; return new DynamicResponseModel ( $ this -> processRestRequest ( 'POST' , "/templates" , $ template ) ) ; }
Create a template

@param string $name The friendly name for this template.
@param string $subject The template to be used for the 'subject' of emails sent using this template.
@param string $htmlBody The template to be used for the 'htmlBody' of emails sent using this template, optional if 'textBody' is not NULL.
@param string $textBody The template to be used for the 'textBody' of emails sent using this template, optional if 'htmlBody' is not NULL.

@return DynamicResponseModel
Create a template