Interface AllocatorApi


@FeignClient(name="wms-inventory", qualifiers="allocatorApi", decode404=true) public interface AllocatorApi
A AllocatorApi.
Author:
Heiko Scherrer
  • Method Summary

    Modifier and Type
    Method
    Description
    allocate(Demand demand, List<String> sourceLocationGroupNames)
    Ask (and also may reserve) a quantity of a product to allocate.
  • Method Details

    • allocate

      @PostMapping(value="/allocation/transport-units", params="sourceLocationGroupNames") List<AllocationVO> allocate(@RequestBody Demand demand, @RequestParam("sourceLocationGroupNames") List<String> sourceLocationGroupNames)
      Ask (and also may reserve) a quantity of a product to allocate.
      Parameters:
      demand - The demand encapsulated as an Demand
      sourceLocationGroupNames - A list of LocationGroup names to search the material in
      Returns:
      An array of available Allocations