Package org.openwms.wms.receiving.api
Interface ReceivingApi
@FeignClient(name="wms-receiving",
qualifiers="receivingApi")
public interface ReceivingApi
A ReceivingApi.
- Author:
- Heiko Scherrer
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cancelOrder
(String pKey) Cancel an existingReceivingOrder
.void
captureOrder
(String pKey, CaptureRequestVO request) Execute the process of capturing a Goods Receipt.changeOrder
(String pKey, ReceivingOrderVO order) Update an existingReceivingOrder
.void
createOrder
(ReceivingOrderVO order) Create a newReceivingOrder
.
-
Method Details
-
createOrder
Create a newReceivingOrder
.- Parameters:
order
- The ReceivingOrder representation
-
changeOrder
@PutMapping("/v1/receiving/{pKey}") ReceivingOrderVO changeOrder(@PathVariable("pKey") String pKey, @RequestBody ReceivingOrderVO order) Update an existingReceivingOrder
.- Parameters:
pKey
- The persistent identifier of the ReceivingOrder to changeorder
- The ReceivingOrder representation with the modified values- Returns:
- The updated instance
-
captureOrder
@PostMapping("/v1/receiving-orders/{pKey}/capture") void captureOrder(@PathVariable("pKey") String pKey, @RequestBody CaptureRequestVO request) Execute the process of capturing a Goods Receipt.- Parameters:
pKey
- The persistent identifier of the ReceivingOrder the capture targets onrequest
- Required capture request data
-
cancelOrder
Cancel an existingReceivingOrder
.- Parameters:
pKey
- The persistent identifier of the ReceivingOrder
-