Verifying supporting decisions for Pega Next-Best-Action Advisor
Test each supporting decision before creating the next one using Postman to ensure that it is working.
- Open Postman.
- In the header of Postman, click New, and then in the Create New tab, click Request.
- In the list of methods, select POST and then, in the Enter request URL field, enter the following URL: http://server IP address:port address/prweb/PRRestService/PegaMKTContainer/V3/Container.
- On the Body tab, select the raw radio button.
- In the text pane, enter the request message for the supporting decision that
you are testing:
- Investment budget: {"ContainerName":"Budget","Channel":"CallCenter","CustomerID":"C1000012","SubjectID":"C1000012","Direction":"Inbound","Contexts":[{"Type":"Intent","Value":"","Key":"Recents"},{"Type":"Intent","Value":"","Key":"CallVolumeIndicator"},{"Type":"Intent","Value":"","Key":"InteractionGoal"},{"Type":"Intent","Value":"","Key":"Channel"},{"Type":"Intent","Value":"","Key":"NetPromoterCategory"},{"Type":"Channel","Value":"","Key":"Queuename"},{"Type":"Intent","Value":"","Key":"CustomerValue"},{"Type":"Intent","Value":"","Key":"NewCustomer"},{"Type":"Intent","Value":"","Key":"IVR"},{"Type":"Intent","Value":"","Key":"CreatedFromAnonymous"},{"Type":"Intent","Value":"true","Key":"RetailOffersOnly"},{"Type":"CustomerDetails","Value":"C1000012","Key":"ID"},{"Type":"Intent","Value":"","Key":"Context"},{"Type":"IntentReason","Value":"","Key":"Intent"},{"Type":"Intent","Value":"PegaComm-FW-CPMCFW-Work-Negotiation-Retention","Key":"ObjClass"},{"Type":"Intent","Value":"","Key":"SuggestedActions"},{"Type":"Intent","Value":"0.0","Key":"NegotiationCost"},{"Type":"Intent","Value":"BillingInquiry","Key":"WSSAction"},{"Type":"Intent","Key":"Registered for eBill"},{"Type":"Search","Value":"Bundles","Key":"SearchType"},{"Type":"CartItems","Value":"SamsungS20,MobileZebra","Key":"07968910777"}],"ContextName":"Account"}
- Static bundle: {"ContainerName":"RetentionStaticBundles","Channel":"CallCenter","CustomerID":"07968910777","SubjectID":"07968910777","Direction":"Inbound","Contexts":[{"Type":"Intent","Value":"","Key":"Recents"},{"Type":"Intent","Value":"","Key":"CallVolumeIndicator"},{"Type":"Intent","Value":"","Key":"InteractionGoal"},{"Type":"Intent","Value":"","Key":"Channel"},{"Type":"Intent","Value":"","Key":"NetPromoterCategory"},{"Type":"Channel","Value":"","Key":"Queuename"},{"Type":"Intent","Value":"","Key":"CustomerValue"},{"Type":"Intent","Value":"","Key":"NewCustomer"},{"Type":"Intent","Value":"","Key":"IVR"},{"Type":"Intent","Value":"","Key":"CreatedFromAnonymous"},{"Type":"Intent","Value":"true","Key":"RetailOffersOnly"},{"Type":"CustomerDetails","Value":"07968910777","Key":"ID"},{"Type":"Intent","Value":"","Key":"Context"},{"Type":"IntentReason","Value":"","Key":"Intent"},{"Type":"Intent","Value":"PegaComm-FW-CPMCFW-Work-Negotiation-Retention","Key":"ObjClass"},{"Type":"Intent","Value":"","Key":"SuggestedActions"},{"Type":"Intent","Value":"0.0","Key":"NegotiationCost"},{"Type":"Intent","Value":"BillingInquiry","Key":"WSSAction"},{"Type":"Intent","Key":"Registered for eBill"},{"Type":"Bundle","Value":"Mobile","Key":"ServiceType"},{"Type":"Bundle","Value":"4","Key":"BundleCount"},{"Type":"Search","Value":"Bundles","Key":"SearchType"}],"ContextName":"Subscription"}
- Current bundle: {"ContainerName":"CurrentBundle","Channel":"CallCenter","CustomerID":"C1000012","SubjectID":"C1000012","Direction":"Inbound","Contexts":[{"Type":"Intent","Value":"","Key":"Recents"},{"Type":"Intent","Value":"","Key":"CallVolumeIndicator"},{"Type":"Intent","Value":"","Key":"InteractionGoal"},{"Type":"Intent","Value":"","Key":"Channel"},{"Type":"Intent","Value":"","Key":"NetPromoterCategory"},{"Type":"Channel","Value":"","Key":"Queuename"},{"Type":"Intent","Value":"","Key":"CustomerValue"},{"Type":"Intent","Value":"","Key":"NewCustomer"},{"Type":"Intent","Value":"","Key":"IVR"},{"Type":"Intent","Value":"","Key":"CreatedFromAnonymous"},{"Type":"Intent","Value":"true","Key":"RetailOffersOnly"},{"Type":"CustomerDetails","Value":"C1000012","Key":"ID"},{"Type":"Intent","Value":"","Key":"Context"},{"Type":"IntentReason","Value":"","Key":"Intent"},{"Type":"Intent","Value":"PegaComm-FW-CPMCFW-Work-Negotiation-Retention","Key":"ObjClass"},{"Type":"Intent","Value":"","Key":"SuggestedActions"},{"Type":"Intent","Value":"0.0","Key":"NegotiationCost"},{"Type":"Intent","Value":"BillingInquiry","Key":"WSSAction"},{"Type":"Intent","Key":"Registered for eBill"},{"Type":"Bundle","Value":"4","Key":"BundleCount"}],"ContextName":"Account"}
- Search offers: {"ContainerName":"RetentionOffersSearch","Channel":"CallCenter","CustomerID":"07968910777","SubjectID":"07968910777","Direction":"Inbound","Contexts":[{"Type":"Intent","Value":"","Key":"Recents"},{"Type":"Intent","Value":"","Key":"CallVolumeIndicator"},{"Type":"Intent","Value":"","Key":"InteractionGoal"},{"Type":"Intent","Value":"","Key":"Channel"},{"Type":"Intent","Value":"","Key":"NetPromoterCategory"},{"Type":"Channel","Value":"","Key":"Queuename"},{"Type":"Intent","Value":"","Key":"CustomerValue"},{"Type":"Intent","Value":"","Key":"NewCustomer"},{"Type":"Intent","Value":"","Key":"IVR"},{"Type":"Intent","Value":"","Key":"CreatedFromAnonymous"},{"Type":"Intent","Value":"true","Key":"RetailOffersOnly"},{"Type":"CustomerDetails","Value":"07968910777","Key":"ID"},{"Type":"Intent","Value":"","Key":"Context"},{"Type":"IntentReason","Value":"","Key":"Intent"},{"Type":"Intent","Value":"PegaComm-FW-CPMCFW-Work-Negotiation-Retention","Key":"ObjClass"},{"Type":"Intent","Value":"","Key":"SuggestedActions"},{"Type":"Intent","Value":"119.76","Key":"NegotiationCost"},{"Type":"Intent","Value":"BillingInquiry","Key":"WSSAction"},{"Type":"Intent","Key":"Registered for eBill"},{"Type":"Search","Value":"Services","Key":"SearchType"},{"Type":"Search","Value":"blah","Key":"SearchOfferName"},{"Type":"Search","Value":"Mobile","Key":"SearchGroupName"},{"Type":"CartItems","Value":"LoyaltyDiscount,SamsungS20,MobileZebra","Key":"07968910777"}],"ContextName":"Subscription"}
- Profile preferences: [{"Group":"Mobile","Issue":"Retention"}]
- Click the Text drop-down list, and then select JSON.
- On the Authorization tab, provide authentication
details:
- From the TYPE drop-down list, select Basic Auth.
- In the Username field, enter a valid operator for Pega Customer Decision Hub, for example, admin@cdhc.
- In the Password field, enter your password.
- Click Send.
- Review the output to ensure that the results are as expected.
- Tutorial: Configuring supporting decisions for Pega Next-Best-Action Advisor
Previous topic Determining profile preferences for Pega Next-Best-Action Advisor