Preview Approval

Output representation of the details of a preview approval request.

JSON Example 

1{
2  "approvalChainItems": [
3    {
4      "approvalChainName": "FINANCE",
5      "approvalItems": [
6        {
7          "stepApiName": "CPIFC",
8          "approvalConditionName": "Payment Term Greater Than 90 Days",
9          "assignedTo": "005XX000001ABCQYA4",
10          "assigneeType": "User",
11          "assigneeDetails": {
12            "id": "005XX000001ABCQYA4",
13            "name": "Sam Smith",
14            "type": "User",
15            "apiName": "",
16            "email": "sam.smith@example.com"
17          },
18          "objectId": "0Q0bsOgSBEhlexWC3Q",
19          "objectApiName": "Quote",
20          "status": "Approved",
21          "stage": {
22            "apiName": "stage101",
23            "label": "Stage 101"
24          },
25          "dependencies": [],
26          "parents": [],
27          "level": 1,
28          "additionalFields": {
29            "reviewedBy": "005CVxhW4MBIUbPYUX",
30            "isEligibleForSmartApproval": true,
31            "smartApprovalBasisWI": "000000000000000",
32            "isAutoReviewed": false
33          }
34        },
35        {
36          "stepApiName": "CPIFC2",
37          "approvalConditionName": "Payment Term Greater Than 90 Days",
38          "assignedTo": "00GXX000001XYZA2A4",
39          "assigneeType": "Group",
40          "assigneeDetails": {
41            "id": "00GXX000001XYZA2A4",
42            "name": "Admin Group",
43            "type": "Group",
44            "apiName": "Admin_Group",
45            "email": "admin.group@example.com"
46          },
47          "objectId": "0Q0bsOgSBEhlexWC3Q",
48          "objectApiName": "Quote",
49          "status": "In Progress",
50          "stage": {
51            "apiName": "stage101",
52            "label": "Stage 101"
53          },
54          "dependencies": [
55            "CPIFC"
56          ],
57          "parents": [
58            "CPIFC"
59          ],
60          "level": 2,
61          "additionalFields": {
62            "reviewedBy": "00GvUUtUVGmTDUHU34",
63            "isEligibleForSmartApproval": true,
64            "smartApprovalBasisWI": "000000000000000",
65            "isAutoReviewed": false
66          }
67        }
68      ]
69    }
70  ],
71  "flowOrchestrationDefinitionVersionId": "0jEDU0000001nZm",
72  "status": "Success"
73}
Property NameTypeDescriptionFilter Group and VersionAvailable Version
approvalChain​ItemsPreview Approval Chain Item[]Details of the approval items of an approval chain.Small, 65.065.0
correlation​IdStringUnique token to track and associate related events or transactions across different components of the application. If unspecified, a Universally Unique Identifier (UUID) is generated.Small, 65.065.0
errorPreview Approval Error[]Details of the error encountered during the processing of the API request.Small, 65.065.0
flowOrchestration​DefinitionVersion​IdStringID of the flow orchestration definition version.Small, 65.065.0
statusStringStatus of the API request.Small, 65.065.0