Class TmaOccRecommendationController


  • @Controller
    @RequestMapping("/{baseSiteId}/users/{userId}")
    public class TmaOccRecommendationController
    extends BaseController
    Controller exposing operations related to the Recommendation offer for the customer
    Since:
    1907
    • Constructor Detail

      • TmaOccRecommendationController

        public TmaOccRecommendationController()
    • Method Detail

      • getProcessTypes

        @Secured({"ROLE_CUSTOMERGROUP","ROLE_CLIENT","ROLE_TRUSTED_CLIENT","ROLE_CUSTOMERMANAGERGROUP"})
        @GetMapping("/qualifiedProcessTypes")
        @ResponseBody
        public TmaProcessTypeListWsDto getProcessTypes​(@RequestParam(defaultValue="DEFAULT")
                                                       java.lang.String fields)
      • getOffers

        @Secured({"ROLE_CUSTOMERGROUP","ROLE_CLIENT","ROLE_TRUSTED_CLIENT","ROLE_CUSTOMERMANAGERGROUP"})
        @GetMapping("/recommendations")
        @ResponseBody
        public TmaRecommendationProductsWsDto getOffers​(@RequestParam(required=false)
                                                        java.lang.String processType,
                                                        @RequestParam(required=false)
                                                        java.lang.String subscriberIdentities,
                                                        @RequestParam(required=false)
                                                        java.lang.String affectedProductCode,
                                                        @RequestParam(defaultValue="DEFAULT")
                                                        java.lang.String fields)
      • getSubscriptionBases

        @Secured({"ROLE_CUSTOMERGROUP","ROLE_CLIENT","ROLE_TRUSTED_CLIENT","ROLE_CUSTOMERMANAGERGROUP"})
        @GetMapping("{processType}/subscriptionBases")
        @ResponseBody
        public TmaEligibleSubscriptionSelectionListWsDto getSubscriptionBases​(@PathVariable
                                                                              java.lang.String processType,
                                                                              @RequestParam(defaultValue="DEFAULT")
                                                                              java.lang.String fields)