GetAccountAssets

This Omnistudio Data Mapper gets the assets for an account along with the total subscription costs.

Sample Input

1{
2    "AccountId": "0014W000029kBVyQAM",
3    "statusList": [
4        {
5            "status": "Active"
6        },
7        {
8            "status": "Cancellation In Progress"
9        }
10    ]
11}

Parameter

Required/Optional

AccountId

Required

status

Required

statusList

Required

Sample Output

1{
2  "Asset": [
3    {
4      "TotalCost": "$22.50/Mo",
5      "Recurrence": "Monthly",
6      "CommitmentEndDate": "N/A",
7      "BaseCancellationInProgress": false,
8      "Type": "PACKAGE",
9      "Subtype": "BASE",
10      "ProductCode": "VPL-Play",
11      "Price": "$15.00 /Mo",
12      "PossibleAction": "CANCEL-ADDON",
13      "Name": "Play",
14      "LatestBaseRecord": true,
15      "DisableAction": false,
16      "CustomAssetStatus": "Active",
17      "BillCycleDate": "31-December-2020",
18      "AssetId": "02i4W000005CDNdQAO"
19    },
20    {
21      "TotalCost": "$22.50/Mo",
22      "Recurrence": "Monthly",
23      "CommitmentEndDate": "N/A",
24      "BaseCancellationInProgress": false,
25      "Type": "GENERAL",
26      "Subtype": "ADD-ON",
27      "ProductCode": "VPL-NetflixPremium",
28      "Price": "$7.50 /Mo",
29      "PossibleAction": "CANCEL-ADDON",
30      "Name": "Netflix Premium",
31      "LatestBaseRecord": false,
32      "DisableAction": false,
33      "CustomAssetStatus": "Active",
34      "BillCycleDate": "31-December-2020",
35      "AssetId": "02i4W00000GC1GdQAL"
36    }
37  ],
38  "TotalCost": "$22.50/Mo",
39  "DeviceCount": 1,
40  "AddOnCount": 1
41}

Called By

  • Workflow: Self care Subscription Page

    • LWC: VplS360SelfCareLanding.js

      • Integration Procedure: VPL360_AssetFetch

  • Workflow: Agent console Subscription Page, Tab

    • Omniscript: vpls360csr_BuyAddonsV3_English

      • Integration Procedure: vpls360Csr_FetchAssets

  • Workflow: Agent console Change Base Package

    • Omniscript: vpls360csrChangeBasePackage

      • Integration Procedure: VPL360_CsrBasePackPosttocart