Interface AllocatorApi
@FeignClient(name="wms-inventory",
qualifiers="allocatorApi",
dismiss404=true)
public interface AllocatorApi
A AllocatorApi.
- Author:
- Heiko Scherrer
-
Method Summary
-
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 DemandsourceLocationGroupNames
- A list of LocationGroup names to search the material in- Returns:
- An array of available Allocations
-