Interface TransportUnitAllocatorApi


@FeignClient(name="common-service", qualifiers="transportUnitAllocatorApi", dismiss404=true) public interface TransportUnitAllocatorApi
A TransportUnitAllocatorApi.
Author:
Heiko Scherrer
  • Method Summary

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

    • allocate

      @PostMapping("/allocation/generic") List<Allocation> allocate(@RequestBody List<org.openwms.core.lang.Triple<String,Object,Class<?>>> searchAttributes, @RequestParam(value="sourceLocationGroupNames",required=false) List<String> sourceLocationGroupNames)
      Ask (and also may reserve) TransportUnits to allocate.
      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