This API generates required approval requests for the given context object. You must query the approval request table to fetch them. This API accepts the object type and the object ID of the approval request as input parameters.
API
Signature
previewApprovals
webService static Boolean previewApprovals(String sObjectType, Id sObjectId)
Request Parameters
Name
Type
Required?
Description
sObjectId
ID
Yes
ID of the approval context object.
sObjectType
String
Yes
Type of the approval context object.
Response Parameter
Name
Type
Description
result
Boolean
Returns true if the API is executed successfully.
Integration Details
Use the following information in your integrations with Conga Approvals API. Refer to Integrating Conga with External Systems for information on how to get started.