Interface TransportUnitAllocatorApi


@FeignClient(name="common-service", qualifiers="commonTransportUnitAllocatorApi", dismiss404=true) public interface TransportUnitAllocatorApi
A TransportUnitAllocatorApi is an allocation strategy to allocate TransportUnits based on some search criteria.
Author:
Heiko Scherrer
  • Method Summary

    Modifier and Type
    Method
    Description
    allocate(List<org.openwms.core.lang.Triple<String,Object,Class<?>>> searchAttributes, List<String> sourceLocationGroupNames)
    Allocate and pre-reserve TransportUnits.
  • Method Details

    • allocate

      @PostMapping("/allocation/generic") List<AllocationVO> allocate(@RequestBody List<org.openwms.core.lang.Triple<String,Object,Class<?>>> searchAttributes, @RequestParam(value="sourceLocationGroupNames",required=false) List<String> sourceLocationGroupNames)
      Allocate and pre-reserve TransportUnits. The pre-reservation is expected to be acknowledged as soon as a TransportUnit is considered by the caller.
      Parameters:
      searchAttributes - The attributes to search TransportUnits for
      sourceLocationGroupNames - A list of LocationGroup names to search the material in
      Returns:
      An array of available Allocations