Download page Generating a Document for a Standard Object.
Generating a Document for a Standard Object
This API generates a Word agreement document for a standard object, using the template selected by the templateId parameter and the object indicated by sObjectId and sObjectType.
API
Signature
generateCustomDoc
webService static Id generateCustomDoc(Id templateId, Id sObjectId, String sObjectType, String pLevel, String docFormat, Boolean isDraft, String sessionId, String serverUrl)
Request Parameters
Name
Type
Description
Required?
templateId
ID
The id of the template used to generate the word doc.
Yes
sObjectId
ID
The id of the sObject holding the data for the merge fields.
Yes
sObjectType
String
The type of the sObject.
Yes
pLevel
String
The protection level to apply to the document. Valid values are:
Full access
Insert comments only
Insert comments and tracked changes only
Read only
Fill in form fields only
Yes
docFormat
String
Indicates whether the document will be:
DOC
DOCX
PDF
RTF
Yes
isDraft
Boolean
Indicates whether a draft watermark should be added to the document.
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.