Newer Version Available

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

VPL360_CancelAsset

This Integration Procedure initiates the cancellation of an active asset for a customer in self care.

Sample Input

1{
2    "accountId": "0014W00002AgXmWQAV",
3    "assetId": "02i4W00000EQbUNQA1",
4    "cancelSubscription": "false"
5}

Parameter

Required/Optional

accountId

Required

assetId

Required

cancelSubscription

Required

Sample Output

1{
2  "CancelAssetItem": {
3    "RelatedAssetDetails": "",
4    "UpdateRelatedAssets": false,
5    "error": false,
6    "orderId": "8014W000001Zl2RQAS"
7  },
8  "SubmitFDO": "Order queued successfully.",
9  "UpdateAsset": {
10    "error": "OK",
11    "errorCode": "INVOKE-200",
12    "msg": "Assets Updated"
13  }
14}

Called By

  • Flows:

    • Self care: Subscription Page Active Asset Cancellation

  • Components:

    • LWC: vplS360SelfCareSubscriptionAddOnsList.js

Calls

  • Integration Procedure: VPL360_CancelAssetItem

  • Integration Procedure: VPL360_CancelSubscription

  • Integration Procedure: VPL360_SubmitFDOrder

  • Remote Action: UpdateAssetStatusApex

    • Class: VPL360AssetManagementController

    • Method: updateAssetStatus