VPL360_CsrBasePackPosttocart

This Integration Procedure gets the available base packages and also gets cart items to display in the agent console while changing a base package for a subscriber.

Sample Input

1{
2    "cartId": "8014W000000lIYFQA2",
3    "itemId": "01u4W00000B994jQAB"
4}

Parameter

Required/Optional

cartId

Required

itemId

Required

Sample Output

1{
2  "PreviousTotal": "$52.00/Mo",
3  "review": {
4    "CartItems": [
5      {
6        "Price": 15,
7        "ItemName": "Play",
8        "Action": "Add",
9        "AccountId": "0014W000029kBVyQAM",
10        "cartId": "8014W000000lIYFQA2",
11        "Description": "An extensive amount of the most popular channels that people love."
12      },
13      {
14        "Price": 30,
15        "ItemName": "Play Plus",
16        "Action": "Disconnect",
17        "AccountId": "0014W000029kBVyQAM",
18        "cartId": "8014W000000lIYFQA2",
19        "Description": "An extensive amount of the most popular channels, plus HBO, Showtime and other premium channels."
20      }
21    ]
22  }
23}

Called By

  • Flows:

    • Agent console: Change Base Package

  • Components:

    • Omniscript: vpls360csrChangeBasePackage

Calls

  • Data Mapper: DRPreparePayload

  • Data Mapper: CsrBaseItemFormat

  • Data Mapper: GetAccountAssets

  • Remote Action:

    • Class: vlocity_cmt.CpqAppHandler

    • Method: getCartsItems

  • Remote Action:

    • Class: vlocity_cmt.CpqAppHandler

    • Method: postCartItems