Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Verifying supporting decisions for Pega Next-Best-Action Advisor

Updated on April 20, 2022

Test whether each supporting decision works before creating the next one by using Postman.

Pega Customer Decision Hub
  1. Open Postman.
  2. In the header of Postman, click New, and then in the Create New tab, click Request.
  3. 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.
  4. On the Body tab, select the raw radio button.
  5. In the text pane, enter the request message for the supporting decision that you want to test:
    • 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"}]
  6. In the Text list, select JSON.
  7. On the Authorization tab, provide authentication details:
    1. In the TYPE list, select Basic Auth.
    2. In the Username field, enter a valid operator for Pega Customer Decision Hub, for example, admin@cdhc.
    3. In the Password field, enter your password.
    4. Click Send.
    5. Ensure that the results are as expected by reviewing the output.
Result: Your supporting decision is visible in the UI of the NBAA portal. For example, the Service preference area of the Shared needs assessment window contains your profile questions and you can select an answer.
  • Previous topic Enabling the search offer feature for Pega Next-Best-Action Advisor

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us