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
-
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-reserveTransportUnits
. The pre-reservation is expected to be acknowledged as soon as aTransportUnit
is considered by the caller.- Parameters:
searchAttributes
- The attributes to search TransportUnits forsourceLocationGroupNames
- A list of LocationGroup names to search the material in- Returns:
- An array of available Allocations
-