public function Update($templateID, $templateScope = \ElasticEmailEnums\TemplateScope::EEPrivate, $name = null, $subject = null, $fromEmail = null, $fromName = null, $bodyHtml = null, $bodyText = null, $css = null, $removeScreenshot = true) {
        return $this->sendRequest('template/update', array(
                    'templateID' => $templateID,
                    'templateScope' => $templateScope,
                    'name' => $name,
                    'subject' => $subject,
                    'fromEmail' => $fromEmail,
                    'fromName' => $fromName,
                    'bodyHtml' => $bodyHtml,
                    'bodyText' => $bodyText,
                    'css' => $css,
                    'removeScreenshot' => $removeScreenshot
        ));
    }
public function Update($templateID, $templateScope = \ElasticEmailEnums\TemplateScope::EEPrivate, $name = null, $subject = null, $fromEmail = null, $fromName = null, $bodyHtml = null, $bodyText = null, $css = null, $removeScreenshot = true) {
        return $this->sendRequest('template/update', array(
                    'templateID' => $templateID,
                    'templateScope' => $templateScope,
                    'name' => $name,
                    'subject' => $subject,
                    'fromEmail' => $fromEmail,
                    'fromName' => $fromName,
                    'bodyHtml' => $bodyHtml,
                    'bodyText' => $bodyText,
                    'css' => $css,
                    'removeScreenshot' => $removeScreenshot
        ));
    }
public function Update ( $ templateID , $ templateScope = \ ElasticEmailEnums \ TemplateScope :: EEPrivate , $ name = null , $ subject = null , $ fromEmail = null , $ fromName = null , $ bodyHtml = null , $ bodyText = null , $ css = null , $ removeScreenshot = true ) { return $ this -> sendRequest ( 'template/update' , array ( 'templateID' => $ templateID , 'templateScope' => $ templateScope , 'name' => $ name , 'subject' => $ subject , 'fromEmail' => $ fromEmail , 'fromName' => $ fromName , 'bodyHtml' => $ bodyHtml , 'bodyText' => $ bodyText , 'css' => $ css , 'removeScreenshot' => $ removeScreenshot ) ) ; }
Update existing template, overwriting existing data. Needs to be sent using POST method.
@param string $apikey ApiKey that gives you access to our SMTP and HTTP API's.
@param int $templateID ID number of template.
@param \ElasticEmailEnums\TemplateScope $templateScope Enum: 0 - private, 1 - public, 2 - mockup
@param string $name Filename
@param string $subject Default subject of email.
@param string $fromEmail Default From: email address.
@param string $fromName Default From: name.
@param string $bodyHtml HTML code of email (needs escaping).
@param string $bodyText Text body of email.
@param string $css CSS style
@param bool $removeScreenshot
Update existing template overwriting existing data . Needs to be sent using POST method .