This API cancels the entire approval process associated with the context object. Currently, assigned approvers will be notified via email. This API accepts the object type and the object ID of the approval request as input parameters.
API
Signature
cancelApprovals
webService static Boolean cancelApprovals(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 approval is cancelled 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.