VPL-CSRGetOrderStatusfromAcc2
This Omnistudio Data Mapper is used in the agent console to
extract the order information and status for an account.
Sample Input
1{
2 "InteractionId": "a1S4W000006A2DPUA0"
3}|
Parameter |
Required/Optional |
|---|---|
|
InteractionId |
Required |
Sample Output
1{
2 "Order": [
3 {
4 "Status": "Ready To Submit",
5 "RecurringCharge": 7.5,
6 "PlacedDate": "2020-12-22",
7 "OrderTotal": 7.5,
8 "OrderNumber": "00004888",
9 "OnetimeCharge": 0,
10 "LastModifiedBy": "Manju J",
11 "Id": "8014W000000lIaQQAU",
12 "FulfilmentStatus": "Draft",
13 "CreatedBy": "Manju J",
14 "Cancellable": false,
15 "AccountName": "Jhonny Villiers"
16 },
17 {
18 "Status": "Scheduled",
19 "RecurringCharge": 10,
20 "PlacedDate": "2020-12-21",
21 "OrderTotal": 10,
22 "OrderNumber": "00004881",
23 "OnetimeCharge": 0,
24 "LastModifiedBy": "Manju J",
25 "Id": "8014W000000lIZmQAM",
26 "FulfilmentStatus": "Draft",
27 "CreatedBy": "Manju J",
28 "Cancellable": true,
29 "AccountName": "Johnny Villiers"
30 }
31]
32}