Skip to content

Latest commit

 

History

History
60 lines (53 loc) · 1.46 KB

README.md

File metadata and controls

60 lines (53 loc) · 1.46 KB

github-copilot-demo

###To download the active mq and start

to use the mqproducer for doing the transactions for DR/CR

  • http://localhost:8080/mqProducer -
  • HTTP METHOD: POST
  • Sample Json Input: { "transactionId": "1", "transactionAmount": "100", "transactionDate": "02-SEP-22", "transactionType": "DR", "transactionStatus": "OK", "description": "ATM WITHDRAWL", "customerId": "1" }

to get balance for customerid -1

to create a customer

  • http://localhost:8080/customer
  • HTTP METHOD:POST
  • sample Input - { "customerName": "Krisanth S", "customerAddress": "123 Main St", "customerPhone": "123-456-7890", "customerEmail": "[email protected]", "customerZipcode":"1232", "customerCity":"city", "customerState":"state" }

to update a cusotmer

  • http://localhost:8080/customer
  • HTTP METHOD: PUT
  • sample input- { "customerName": "Krisanth S", "customerAddress": "123 Main St", "customerPhone": "123-456-7890", "customerEmail": "[email protected]", "customerZipcode": "1232", "customerCity": "NJ", "customerState": "state", "customerId":7 }

to get a customer detail for a customerid