This API cancels the entire approval process associated with the context object with comments. Currently, assigned approvers will be notified via email. This API accepts the object type, object ID, and comments of the approval request as input parameters.
API
Signature
cancelApprovalsWithComments
webService static Boolean cancelApprovalsWithComments(String sObjectType, ID sObjectId, String comments)
Request Parameters
Name
Type
Required?
Description
sObjectId
ID
Yes
ID of the approval context object.
sObjectType
String
Yes
Type of the approval context object.
comments
Object
Yes
The cancellation comments object.
Response Parameter
Name
Type
Description
result
Boolean
Returns true if the approvals are canceled 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.