Package org.openwms.wms.receiving.rest
Class ReceivingOrderCreator
java.lang.Object
org.openwms.core.http.AbstractWebController
org.openwms.wms.receiving.rest.ReceivingOrderCreator
@Validated
@MeasuredRestController
public class ReceivingOrderCreator
extends org.openwms.core.http.AbstractWebController
A ReceivingOrderCreator.
- Author:
- Heiko Scherrer
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final org.slf4j.Logger
private final ReceivingMapper
private final ReceivingService
<?> -
Constructor Summary
ConstructorDescriptionReceivingOrderCreator
(ReceivingService<?> service, ReceivingMapper receivingMapper) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity
<ReceivingOrderVO> createOrder
(ReceivingOrderVO orderVO, jakarta.servlet.http.HttpServletRequest req) Methods inherited from class org.openwms.core.http.AbstractWebController
buildNOKResponse, buildNOKResponseWithKey, buildOKResponse, buildResponse, buildResponse, getLocationForCreatedResource, getLocationURIForCreatedResource, handleBehaviorAwareException, handleBusinessRuntimeException, handleConstraintViolationException, handleException, handleHttpBusinessException, handleRemovalNotAllowedException, handleTechnicalRuntimeException, handleValidationException, illegalArgumentException, translate
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
service
-
receivingMapper
-
-
Constructor Details
-
ReceivingOrderCreator
-
-
Method Details
-
createOrder
@Transactional @PostMapping(value="/v1/receiving-orders", consumes="application/vnd.openwms.receiving-order-v1+json", produces="application/vnd.openwms.receiving-order-v1+json") public org.springframework.http.ResponseEntity<ReceivingOrderVO> createOrder(@RequestBody ReceivingOrderVO orderVO, jakarta.servlet.http.HttpServletRequest req)
-