RestAPI - smart-glossa/SmartBook GitHub Wiki

Operation Request Response
Operation | Request | Response ----|------|---- 1. Adduser | http://localhost:8080/smartBook/user?operation=1&Name=kumar&dob=01-01-1992&userName=sathish&pass=2003&type=employee | Output: S: {"status":1,"Name":"kumar"}F: {"message":"Parse Error Occurs","status":0} 2. Updateuser | http://localhost:8080/smartBook/user?operation=2&userName=sathish&Name=boss&pass=2003&type=employee | Output: S: {"status":1} F: {"message":"Parse Error Occurs","status":0} 3. Getuser | http://localhost:8080/smartBook/user?operation=3&userName=sathish| Output: S: {"userName":"sathish","type":"employee","userId":1,"Name":"boss"} F: {"message":"Parse Error Occurs","status":0} 4. Getusers|http://localhost:8080/smartBook/user?operation=4|Output: S:[{"userName":"sathish","type":"employee","Name":"boss"},{"userName":"saravana","type":"employee","Name":"sathish"}]F:{"message":"Parse Error Occurs","status":0} 5. GetEmployees|http://localhost:8080/smartBook/user?operation=5&type=employee|Output: S:[{"userName":"sathish","type":"employee","Name":"boss"},{"userName":"saravana","type":"employee","Name":"sathish"}]F:{"message":"Parse Error Occurs","status":0} 6. Forget|http://localhost:8080/smartBook/user?operation=6&userName=sathish&pass=2003|Output: S:{"userName":"sathish","status":"welcome to Employees"}F:{"message":"Parse Error Occurs","status":0} 7.login:|http://localhost:8080/smartBook/user?operation=7&userName=sathish&pass=2000|Output: S:[{"userName":"sathish","type":"employee"}]F:{"message":"Parse Error Occurs","status":0} 8.Deleteuser:|http://localhost:8080/smartBook/user?operation=8&userName=sathish|Output:S:{"status":"success Deleted"}F:{"message":"Parse Error Occurs","status":0} 9.DeleteEmployees:|http://localhost:8080/smartBook/user?operation=9&type=Employee|Output:S:{"status":"success Deleted"}F:{"message":"Parse Error Occurs","status":0}
⚠️ **GitHub.com Fallback** ⚠️