Get Started with Revenue Management Developer Resources
Revenue Management Settings
Preview Approval (POST)
Previous Versions
Preview the approval levels of a record and associated level details, approval chains, approvers, and conditions before you submit the record for an approval.
For example, a sales rep working on a quote can preview the approval levels for a quote before submitting the quote for approval.
1/connect/advanced-approvals/approval-submission/preview1https://{yourInstance}.salesforce.com/services/data/v68.0/connect/advanced-approvals/approval-submission/preview65.0
POST
JSON Example
1{
2 "flowApiName": "QuoteApprovals",
3 "objectApiName": "Quote",
4 "recordId": "0Q0DU0000005HZC0A2",
5 "inputParameters": {
6 "approverComments": "Submitted for approval",
7 "requestType": "Standard"
8 }
9}Properties
| Name | Type | Description | Required or Optional | Available Version |
|---|---|---|---|---|
flowApiName | String | API name of the auto-launched flow. | Required | 65.0 |
objectApiName | String | API name of the object to preview the approvals for. | Required | 65.0 |
recordId | String | ID of the record to preview the approvals for. | Required | 65.0 |
inputParameters | Map<String, Object> | List of input parameters to preview. | Optional | 67.0 |