Class TransactionController

java.lang.Object
org.openwms.core.http.AbstractWebController
org.openwms.transactions.TransactionController

@Validated @MeasuredRestController public class TransactionController extends org.openwms.core.http.AbstractWebController
A TransactionController.
Author:
Heiko Scherrer
  • Field Details

  • Constructor Details

  • Method Details

    • findAll

      @GetMapping(value="/transactions", produces="application/vnd.openwms.common.transaction-v1+json") public org.springframework.http.ResponseEntity<List<TransactionVO>> findAll()
    • findByPKey

      @GetMapping(value="/transactions/{pKey}", produces="application/vnd.openwms.common.transaction-v1+json") public org.springframework.http.ResponseEntity<TransactionVO> findByPKey(@PathVariable("pKey") String pKey)
    • findByType

      @GetMapping(value="/transactions", produces="application/vnd.openwms.common.transaction-v1+json", params="type") public org.springframework.http.ResponseEntity<List<TransactionVO>> findByType(@RequestParam("type") String type)
    • create

      @Validated(Create.class) @PostMapping(value="/transactions", consumes="application/vnd.openwms.common.transaction-v1+json", produces="application/vnd.openwms.common.transaction-v1+json") public org.springframework.http.ResponseEntity<TransactionVO> create(@Valid @RequestBody @Valid TransactionVO transaction, jakarta.servlet.http.HttpServletRequest req)
    • index

      @GetMapping("/transactions/index") public org.springframework.http.ResponseEntity<org.openwms.core.http.Index> index()