Class PackagingUnitFinderController

java.lang.Object
org.openwms.core.http.AbstractWebController
org.openwms.wms.inventory.rest.pu.PackagingUnitFinderController

@Validated @MeasuredRestController public class PackagingUnitFinderController extends org.openwms.core.http.AbstractWebController
A PackagingUnitFinderController.
Author:
Heiko Scherrer
  • Field Details

  • Constructor Details

  • Method Details

    • findByPKey

      @Transactional(readOnly=true) @GetMapping("/v1/packaging-units/{pKey}") public org.springframework.http.ResponseEntity<PackagingUnitVO> findByPKey(@PathVariable("pKey") String pKey, @RequestHeader(value="Accept",required=false) String acceptHeader)
    • findPUOnTU

      @Transactional(readOnly=true) @GetMapping("/v1/transport-units/{transportUnitBK}/load-units/packaging-units") public org.springframework.http.ResponseEntity<List<PackagingUnitVO>> findPUOnTU(@PathVariable("transportUnitBK") String transportUnitBK, @RequestHeader(value="Accept",required=false) String acceptHeader)
    • findOnTU

      @Transactional(readOnly=true) @GetMapping("/v2/transport-units/{transportUnitBK}/load-units/packaging-units") public org.springframework.http.ResponseEntity<PusOnTU> findOnTU(@PathVariable("transportUnitBK") String transportUnitBK, @RequestHeader(value="Accept",required=false) String acceptHeader)
    • findOnTUandLU

      @Transactional(readOnly=true) @GetMapping("/v1/transport-units/{transportUnitBK}/load-units/{luPos}/packaging-units") public org.springframework.http.ResponseEntity<List<PackagingUnitVO>> findOnTUandLU(@PathVariable("transportUnitBK") String transportUnitBK, @PathVariable("luPos") String luPos, @RequestHeader(value="Accept",required=false) String acceptHeader)
    • findForProductInLG

      @Transactional(readOnly=true) @GetMapping(value="/v1/packaging-units", params={"productPKey","locationGroupName"}) public org.springframework.http.ResponseEntity<List<PackagingUnitVO>> findForProductInLG(@RequestParam("productPKey") String productPKey, @RequestParam("locationGroupName") String locationGroupName, @RequestParam(value="sortDirection",required=false) @Pattern(regexp="^(asc|desc)$") @Pattern(regexp="^(asc|desc)$") String sortDirection, @RequestParam(value="sortProperty",required=false) String sortProperty, @RequestHeader(value="Accept",required=false) String acceptHeader)
    • findQuantityInLG

      @Transactional(readOnly=true) @GetMapping(value="/v1/packaging-units/amount", params="locationGroupName") public org.springframework.http.ResponseEntity<org.openwms.core.units.api.Measurable> findQuantityInLG(@RequestParam(value="productPKey",required=false) String productPKey, @RequestParam(value="sku",required=false) String sku, @RequestParam("locationGroupName") String locationGroupName)
    • findQuantityOnLocation

      @Transactional(readOnly=true) @GetMapping(value="/v1/packaging-units/amount", params={"sku","erpCode"}) public org.springframework.http.ResponseEntity<org.openwms.core.units.api.Measurable> findQuantityOnLocation(@RequestParam("sku") String sku, @RequestParam("erpCode") String erpCode)
    • findForProduct

      @Transactional(readOnly=true) @GetMapping(value="/v1/packaging-units", params={"sku","amount"}) public org.springframework.http.ResponseEntity<List<PackagingUnitVO>> findForProduct(@RequestParam("sku") String sku, @RequestParam("amount") String amount, @RequestParam(value="sortDirection",required=false) @Pattern(regexp="^(asc|desc)$") @Pattern(regexp="^(asc|desc)$") String sortDirection, @RequestParam(value="sortProperty",required=false) String sortProperty, @RequestHeader(value="Accept",required=false) String acceptHeader)
    • enrichWithLinks

      protected List<PackagingUnitVO> enrichWithLinks(PackagingUnit... eos)