Conga Product Documentation

Welcome to the new doc site. Some of your old bookmarks will no longer work. Please use the search bar to find your desired topic.

Show Page Sections

download

Sending a Document for Signatures

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);

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.

API Prerequisites

None.

Request/Response XML

Example Request

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:agr="http://soap.sforce.com/schemas/class/Apttus/AgreementWebService"> <soapenv:Header> <agr:SessionHeader> <agr:sessionId>00D0S0000000Pa8!ARUAQMbFkHvnVLwOoAiCDHaWEz0Bkjf6uEcSsGd4853e7wLfvv88oUmBtR0xy2BYEgdcP6IrMA1b9qJ7N3uDyPC31sNPlfjs</agr:sessionId> </agr:SessionHeader> </soapenv:Header> <soapenv:Body> <agr:sendForSignature> <agr:primaryContactID>0030S00000MxYfbQAF</agr:primaryContactID> <agr:emailCc>test1@abc.com</agr:emailCc> <agr:emailCc>test2@abc.com</agr:emailCc> <agr:emailBcc>test3@abc.com</agr:emailBcc> <agr:emailBcc>test4@abc.com</agr:emailBcc> <agr:emailAdditionalTo>test5@abc.com</agr:emailAdditionalTo> <agr:emailAdditionalTo>test6@abc.com</agr:emailAdditionalTo> <agr:emailTemplateId>00XA0000000h9eQ</agr:emailTemplateId> <agr:agreementId>a070S000002I4J4QAK</agr:agreementId> <agr:attachmentIds>a1z0S000000u1hqQAA</agr:attachmentIds> </agr:sendForSignature> </soapenv:Body> </soapenv:Envelope>

Example Response

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://soap.sforce.com/schemas/class/Apttus/AgreementWebService"> <soapenv:Body> <sendForSignatureResponse> <result>true</result> </sendForSignatureResponse> </soapenv:Body> </soapenv:Envelope>