Class ReplenishmentOrderController

java.lang.Object
de.hybris.platform.b2bocc.v2.controllers.BaseController
de.hybris.platform.b2bocc.v2.controllers.ReplenishmentOrderController

@Controller @RequestMapping("/{baseSiteId}/users/{userId}/replenishmentOrders") public class ReplenishmentOrderController extends BaseController
  • Constructor Details

    • ReplenishmentOrderController

      public ReplenishmentOrderController()
  • Method Details

    • getReplenishmentOrders

      @Secured({"ROLE_CUSTOMERGROUP","ROLE_GUEST","ROLE_CUSTOMERMANAGERGROUP","ROLE_TRUSTED_CLIENT"}) @ResponseBody @GetMapping(produces="application/json") public ReplenishmentOrderListWsDTO getReplenishmentOrders(@RequestParam(defaultValue="0") int currentPage, @RequestParam(defaultValue="20") int pageSize, @RequestParam(defaultValue="code") String sort, @RequestParam(defaultValue="DEFAULT") String fields)
    • getReplenishmentOrder

      @Secured({"ROLE_CUSTOMERGROUP","ROLE_GUEST","ROLE_CUSTOMERMANAGERGROUP","ROLE_TRUSTED_CLIENT"}) @ResponseBody @GetMapping(value="/{replenishmentOrderCode}", produces="application/json") public ReplenishmentOrderWsDTO getReplenishmentOrder(@PathVariable String replenishmentOrderCode, @RequestParam(defaultValue="DEFAULT") String fields)
    • updateReplenishmentOrder

      @Secured({"ROLE_CUSTOMERGROUP","ROLE_GUEST","ROLE_CUSTOMERMANAGERGROUP","ROLE_TRUSTED_CLIENT"}) @ResponseBody @PatchMapping(value="/{replenishmentOrderCode}", produces="application/json") public ReplenishmentOrderWsDTO updateReplenishmentOrder(@PathVariable String replenishmentOrderCode, @RequestParam(defaultValue="DEFAULT") String fields)
    • getReplenishmentOrderHistory

      @Secured({"ROLE_CUSTOMERGROUP","ROLE_GUEST","ROLE_CUSTOMERMANAGERGROUP","ROLE_TRUSTED_CLIENT"}) @ResponseBody @GetMapping(value="/{replenishmentOrderCode}/orders", produces="application/json") public OrderHistoryListWsDTO getReplenishmentOrderHistory(@RequestParam(defaultValue="0") int currentPage, @RequestParam(defaultValue="20") int pageSize, @RequestParam(defaultValue="code") String sort, @PathVariable String replenishmentOrderCode, @RequestParam(defaultValue="DEFAULT") String fields)