The email template you are cloning must exist in your org.
API
Signature
cloneEmailTemplate
webService static Id cloneEmailTemplate(Id originalId)
Request Parameter
Name
Type
Description
originalId
ID
The ID of email template you want to clone.
Response - Apttus_Proposal_Proposal_c
Field
Type
Description
newTemplateId
ID
The ID of the cloned email template.
Code Sample
The sample code below enables you to clone an email template and get the ID of the cloned email template.
/**
* The below code demonstrates how to clone from existing email template.
*/
Public Id cloneMailTemplate(Id originalID) {
Id newTemplateId = Apttus_Proposal.ProposalWebService.cloneEmailTemplate(originalID);
return newTemplateId;
}
CODE
Integration Details
Use the following information in your integrations with CPQ Web Services API. Refer to Integrating Conga with External Systems for information on how to get started.