SHARE
TWEET

Untitled

a guest Jan 22nd, 2019 75 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. CUSTOMER -SERVICE
  2.  
  3. GET BENEFICIARIES
  4. GET : api/beneficiaries
  5. return list
  6.  
  7. ADD BENEFICIARY
  8. POST : api/beneficiaries
  9. {
  10.     "name": "beneficiary name3",
  11.     "accountNumber": "12345678944466"
  12. }
  13. return written record
  14.  
  15. UPDATE BENEFICIARY
  16. PUT api/beneficiaries/{id}
  17. {
  18.     "name": "Ogi UPDATE2",
  19.     "accountNumber": "12354ACCCCCtt"
  20. }
  21. return updated record
  22.  
  23. DELETE BENEFICIARY
  24. PUT api/beneficiaries/delete/{id}
  25. return 200 :)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top