Preview Approval Input

Input representation of the details of the request to preview an approval.

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 

NameTypeDescriptionRequired or OptionalAvailable Version
flowApiNameStringAPI name of the auto-launched flow.Required65.0
objectApiNameStringAPI name of the object to preview the approvals for.Required65.0
recordIdStringID of the record to preview the approvals for.Required65.0
inputParametersMap<String, Object>List of input parameters to preview.Optional67.0