Download page Submit for Approvals with Comments Using an Ad Hoc Approval Specification.
Submit for Approvals with Comments Using an Ad Hoc Approval Specification
This API enables you to submit approvals for a context object with comments using the ad hoc approval specification for that object. This API accepts the context object type and id, along with the submission comments structure as input parameters and returns true if the submit is successful.
The SubmissionComments structure is same as from previous API docs.
API
Signature
submitForAdhocApprovalsWithComments
webService static Boolean submitForAdhocApprovalsWithComments(String sObjectType, Id sObjectId, Apttus_Approval.SubmissionComments comments)
Request Parameters
Name
Type
Required?
Description
sObjectId
ID
Yes
ID of the approval context object.
sObjectType
String
Yes
Type the approval context object.
comments
SubmissionComments
Yes
The comment to add.
Response Parameter
Name
Type
Description
result
Boolean
Returns true if the approval request is submitted 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.