Springboot Rest API Build
Budget: $14 – $30 NZD
Hi ,
Need somone to complete the below task
There is one online shopping mobile app which does below.
A) Validate user profile (http://localhost:8080/buyservice/validateuser?uname=superman)
B) Check his wallet balance (http://localhost:8080/buyservice/getmywalletbalance?uid=123456)
C) Place an order and send the confirmation back to user (http://buystuff.com/buyservice/postmyorder?uid=123456&orderid=789)
Notes:
User maintenance is stored in a table bs_user_det ( fields are uid,uname,pwd,walletbalance)
Existing functionality (APIs)
The application has already got below API:
Placing the order and sending the confirmation message back
so available API is:
(http://localhost:8080/buyservice/postmyorder?uid=123456&orderid=789)
Task for development:
Create an API which does below:
1) validate uname/pwd combination and returns uid (Development)
2) gathers info from application of his total ordervalue and orderid and calls walletbalance (balance check (http://localhost:8080/buyservice/getmywalletbalance?uid=123456)
to validate if the walletbalance>= ordervalue (Development)
3) Next calls order API
http://localhost:8080/buyservice/postmyorder?uid=123456&orderid=789 (No delvelopment needed, can just hardcode the IN and OUT JSON)
URI : http://localhost:8080/buyservice/buyitem?uname=superman
Service name : buyservice
json IN
uname: superman
Json Out
msg: YOur order is successfully placed
oid: 789
Need somone to complete the below task
There is one online shopping mobile app which does below.
A) Validate user profile (http://localhost:8080/buyservice/validateuser?uname=superman)
B) Check his wallet balance (http://localhost:8080/buyservice/getmywalletbalance?uid=123456)
C) Place an order and send the confirmation back to user (http://buystuff.com/buyservice/postmyorder?uid=123456&orderid=789)
Notes:
User maintenance is stored in a table bs_user_det ( fields are uid,uname,pwd,walletbalance)
Existing functionality (APIs)
The application has already got below API:
Placing the order and sending the confirmation message back
so available API is:
(http://localhost:8080/buyservice/postmyorder?uid=123456&orderid=789)
Task for development:
Create an API which does below:
1) validate uname/pwd combination and returns uid (Development)
2) gathers info from application of his total ordervalue and orderid and calls walletbalance (balance check (http://localhost:8080/buyservice/getmywalletbalance?uid=123456)
to validate if the walletbalance>= ordervalue (Development)
3) Next calls order API
http://localhost:8080/buyservice/postmyorder?uid=123456&orderid=789 (No delvelopment needed, can just hardcode the IN and OUT JSON)
URI : http://localhost:8080/buyservice/buyitem?uname=superman
Service name : buyservice
json IN
uname: superman
Json Out
msg: YOur order is successfully placed
oid: 789