Generating a Supporting Document
Generates a supporting document, such as Contract Summary, Renewal Letter, and Termination Letter, using the template specified by the templateId and is associated with the agreement record represented by the agreementId.
API |
Signature |
---|---|
generateSupportingDoc |
|
Request Parameters |
|||
---|---|---|---|
Name |
Type |
Description |
Required? |
templateId |
|
The id of the template used to generate the word document. |
Yes |
agreementId |
|
The id of the agreement providing the content for the document. |
Yes |
pLevel |
|
The protection level to apply to the document. Valid values are:
|
Yes |
docFormat |
|
Indicates whether the document will be:
|
Yes |
sessionId |
|
The Salesforce session id. |
Yes |
serverUrl |
|
The Salesforce server id. |
Yes |
Response Parameter |
||
---|---|---|
Name |
Type |
Description |
result |
|
The id of the generated document. |
Code Sample
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
Example Response
This API is the same as the generateSupportingDoc API and additionally enables you to add a draft watermark to the generated document.
API |
Signature |
---|---|
generateSupportingDoc2 |
|
Request Parameters |
|||
---|---|---|---|
Name |
Type |
Description |
Required? |
templateId |
|
The id of the template used to generate the word doc. |
Yes |
agreementId |
|
The id of the agreement providing the content for the document. |
Yes |
pLevel |
|
The protection level to apply to the document. Valid values are: 'Full access', 'Insert comments only', 'Insert comments and tracked changes only', 'Read only', and 'Fill in form fields only'. |
Yes |
docFormat |
|
Indicates whether the document will be 'DOC', 'DOCX', 'PDF', or 'RTF'. |
Yes |
isDraft |
|
Indicates whether a draft watermark should be added to the document. |
Yes |
sessionId |
|
The Salesforce session id. |
Yes |
serverUrl |
|
The Salesforce server id. |
Yes |
Response Parameter |
||
---|---|---|
Name |
Type |
Description |
result |
|
The id of the generated document. |
Code Sample
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
Example Response