This API allows you to send the agreement document for manual signatures.
API
Signature
sendForSignature
webService static Boolean sendForSignature(Id primaryContactID, List emailCc, List emailBcc, List emailAdditionalTo, Id emailTemplateId, Id agreementId, List attachmentIds)
Request Parameters
Name
Type
Description
Required
primaryContactID
ID
The id of the primary contact.
Yes
emailCc
list
The email ids of the recipients you need to CC in the email.
Optional
emailBcc
list
The email ids of the recipients you need to BCC in the email.
Optional
emailAdditionalTo
list
The email ids of the recipients you need to send the email.
Yes
emailTemplateId
ID
The id of the email template that you need to use to send the email.
Yes
agreementId
ID
The id of the document that is to be signed.
Yes
attachmentIds
list
The ids of the documents that are to be signed.
Yes
Response Parameter
Name
Type
Description
result
Boolean
Indicates whether the agreement was sent for signatures successfully.
Code Sample
List<String> addto = new list<String>{'test1@abc.com','test2@abc.com','test3@abc.com','test4@apttus.com'};
List<String> cc = new list<String>{'test5@abc.com','test6@abc.com','test7@abc.com','test8@abc.com'};
List<String> bcc = new list<String>{'test9@abc.com','test10@abc.com','test11@abc.com','test12@abc.com'};
List<id> attmentids = new list<String>{'00P0S000002nzJg','00P0S000002nzJb'};
id primaryContactID = '0030S00000MxYfb';
id emailTemplateId = '00XA0000000h9eQ';
id agreementId = 'a070S000002I3I4';
Boolean response = apttus.AgreementWebService.sendForSignature(primaryContactID,cc,bcc,addto,emailTemplateId,agreementId,attmentids);
CODE
Integration Details
Use the following information in your integrations with Apttus Contract Management Web Services API. For information on how to get started, refer to Integrating Conga CLM with External Systems.