Newer Version Available

This content describes an older version of this product. View Latest

VPL360_AssetFetch

This Integration Procedure fetches all the assets and products that have been ordered by the logged in subscriber.

Sample Input

1{
2	"AccountId": "0014W000021GysX"
3}

Parameter

Required/Optional

AccountId

Required

Sample Output

1{
2	"AssetInfo": {
3		"Asset": [{
4			"TotalCost": "$30.00/Mo",
5			"Recurrence": "Monthly",
6			"CommitmentEndDate": "N/A",
7			"BaseCancellationInProgress": false,
8			"Type": "PACKAGE",
9			"Subtype": "BASE",
10			"ProductCode": "VPL-PlayPlus",
11			"Price": "$30.00 /Mo",
12			"PossibleAction": "CANCEL-ADDON",
13			"Name": "Play Plus",
14			"LatestBaseRecord": true,
15			"DisableAction": false,
16			"CustomAssetStatus": "Active",
17			"BillCycleDate": "10-January-2021",
18			"AssetId": "02i4W00000GQo5NQAT"
19		}],
20		"TotalCost": "$30.00/Mo",
21		"DeviceCount": 1,
22		"AddOnCount": 0
23	},
24	"OrderItemInfo": [{
25		"orderId": "8014W000001v7LvQAI",
26		"itemId": "8024W000005eZxvQAE",
27		"Subtype": "SERVICE",
28		"ProductCode": "VPL-ScreenPlus",
29		"Price": "$10.00 /Mo",
30		"PossibleAction": "REMOVE-PRODUCT",
31		"Name": "Screen Plus",
32		"CustomAssetStatus": "In Progress"
33	}]
34}

Called By

  • Flows:

    • Self care: Subscription Page

  • Components:

    • LWC: vplS360SelfCareLanding.js

Calls

  • Data Mapper: GetAccountAssets

  • Data Mapper: DROrderFetch