Interface AllocatorApi
@FeignClient(name="wms-inventory",
qualifiers="allocatorApi",
decode404=true)
public interface AllocatorApi
A AllocatorApi.
- Author:
- Heiko Scherrer
-
Method Summary
-
Method Details
-
allocate
@PostMapping("/allocation/transport-units") List<Allocation> allocate(@RequestBody Demand demand, @RequestParam(value="sourceLocationGroupNames",required=false) 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
-