Merging Documents
This API allows you to merge multiple documents into a single document. The supported file types are DOC, DOCX, XLS, XLSX, PPT, PPTX, and PDF.
API | Signature |
---|---|
mergeDocuments |
|
Request Parameters | |||
---|---|---|---|
Name | Type | Description | Required? |
ParentId |
| The ID of the parent object associated with the result. | Yes |
sObjectId |
| The ID of the standard object | Yes |
Attachments |
| List of all documents in the order to be merged. | Yes |
ExternalLinks |
| List of external links to be embedded in the document. | Optional |
DocFileName |
| Name of the packaged document file (.doc or .docx). | Yes |
ProtectionLevel |
| Protection level of the document generated. | Yes |
AddWatermark |
| Indicates whether to add a watermark to the document. | Yes |
RemoveWatermark |
| Indicates whether to remove a watermark from the document. | Yes |
AddAutoHeaderFooter |
| Indicates whether to use the configured header and footer format located in Comply System Properties.
| Yes |
HeaderText |
| Text to include in the document header. | Yes |
FooterText |
| Text to include in the document footer. | Yes |
PreserveRedlines |
| Indicates whether the redlines in the input document will be preserved/ accepted in the packaged document. The default value is false. | Yes |
SessionId | ID | The Salesforce Session ID. | Yes |
SessionUrl |
| The Salesforce Server URL. | Yes |
RetainInputHeaderFooter |
| Indicates whether the merged document retains the existing header and footer of the original documents and page numbers are cumulative. | Optional |
CumulativePageNumber |
| Indicates whether the merged document page numbers are cumulative. | Optional |
Response Parameter | ||
---|---|---|
Name | Type | Description |
docId |
| The id of the generated PDF 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