akhil-ghatiki/foreCastAlexSkillBackend

React UI to read the Json of the final order list

Opened this issue · 1 comments

React UI to read the Json of the final order list

@sowmika
The UI should prompt for email id to display invoice
Sample Invoice JSON file returned by below Invoice end point.
http://localhost:8080/retailMart/minions@email.com/invoice
{
"id": "9fa3134c-b5fa-4ea4-8abb-2d0a73f891dc",
"orderDate": "2020-04-17T13:40:09.677+0000",
"user": {
"username": "minions",
"userEmail": "minions@email.com"
},
"company": {
"companyName": "RetailMart",
"companyEmail": "contactus@retailmart.com"
},
"totalPrice": 1178,
"orderLineItems": [
{
"name": "orange",
"quantity": 0.8,
"unit": "kg",
"id": "231-345",
"unitPrice": 60,
"price": 48
},
{
"name": "eggs",
"quantity": 10,
"unit": "number",
"id": "231-745",
"unitPrice": 60,
"price": 600
}
]
}