Submitting Bulk Approval Requests
With this API, you can submit bulk approval requests for review. This API accepts the object type and the object ID of the context object as input parameters. You can also add comments to your approval requests. You cannot submit approval requests with attachments.
If you submit previously submitted or approved approvals as part of bulk approval request, the approval request is submitted again.
The submitForApprovalsBulk API supports up to 50 context object records. Beyond this limit, Salesforce throws a SOQL error.
API |
Signature |
---|---|
submitForApprovalsBulk |
webService static Boolean submitForApprovalsBulk(ListctxObjParams) |
Request Parameters | |||
---|---|---|---|
Name |
Type |
Required? |
Description |
ctxObjParams | Object |
Yes |
Object containing all the approval parameters |
approvalParams | |||
---|---|---|---|
Name |
Type |
Required? |
Description |
approvalObjectId | ID |
Yes |
ID of the approval context object. |
approvalObjectType | String |
Yes |
Type of the approval context object. |
approvalCommentsObject | Object |
No |
The approval comment 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 to get started.
API Prerequisites
None.