Generating a Document on Submit Request for a Standard Object
For a standard object, this API submits the generate document action using the given template from templateId and for a sObject from sObjectId and sObjectType. The output format of the generated document is of the type specified in the docFormat parameter.
API |
Signature |
---|---|
submitGenerateCustomDoc |
|
Request Parameters |
|||
---|---|---|---|
Name |
Type |
Description |
Required? |
templateId |
|
The id of the template used to generate the word doc. |
Yes |
sObjectId |
|
The sObject id which comprises the data for the merge fields. |
Yes |
sObjectType |
|
The type of the sObject. |
Yes |
pLevel |
|
The protection level to apply to the document. Valid values are:
|
Yes |
docFormat |
|
Indicates whether the document will be:
|
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