—————————
Appliance Change:
curl -X POST -H "Content-Type: application/json" -d '{"reason":"It didnt woork - test 2","item":"Pouch","pouchSKU":"34543","username":"gregrjacobs","bpSKU":"37456"}' http://ostomyvault.dev/dev/api/postApplianceChange/ -i
Change Log
curl -i -X POST -H "Content-Type: application/json" -d '{"version":"0.0.1","change":"Testy Test","username":"gregrjacobs"}' http://ostomyvault.dev/dev/api/postChangeLogEntry/
Manufacturer:
curl -i -H "Content-Type: application/json" -d '{"manufacturer":"Test Company","address1":"xyz lane","address2":"","city":"zyx","state":"nowhere","zipcode":"23432","country":"Canada","phone":"555.555.5555","email":"no@email.com","username":"gregrjacobs"}' http://ostomyvault.dev/dev/api/postManufacturer
Member Insert:
curl -i -H "Content-Type: application/json" -X POST -d '{"firstname":"testy","lastname":"test","username":"tatest","ePassword":"ratest","email":"no@email.com"}' http://ostomyvault.dev/dev/api/postMember
Output Insert:
curl -i -H "Content-Type: application/json" -X POST -d '{"volume":22,"measurement":"oz","color":2,"consistency":1,"username":"gregrjacobs"}' http://ostomyvault.dev/dev/api/postOutput
Product Insert:
curl -i -H "Content-Type: application/json" -X POST -d '{"code":"00000","name":"Testy Test","description":"awesome product test","type":"yellyyellow","units":10,"manufacturer":1,"notes":"awesome note","unittype":"Pouch","othersku":"","username":"gregrjacobs"}' http://ostomyvault.dev/dev/api/postProduct
Product Stock Insert:
curl -i -H "Content-Type: application/json" -X POST -d '{"productsku":"00000","units":5,"username":"gregrjacobs"}' http://ostomyvault.dev/dev/api/postProductStock
Water Intake Insert:
curl -i -H "Content-Type: application/json" -X POST -d '{"cupsdrank":3,"username":"gregrjacobs"}' http://ostomyvault.dev/dev/api/postWaterIntake
Water Intake if NULL insert:
curl -i -H "Content-Type: application/json" -X POST -d '{"cupsdrank":"null","username":"gregrjacobs"}' http://ostomyvault.dev/dev/api/postWaterIntake
Weight Insert:
curl -i -H "Content-Type: application/json" -X POST -d '{"weight":"178.8","username":"gregrjacobs"}' http://ostomyvault.dev/dev/api/postWeight