IUCJson.OneListHospCalculate Method |
Namespace: LSOmni.Service
OrderHosp OneListHospCalculate( OneList oneList )
This function can be used to send in Basket and convert it to Hospitality Order.
Basic Hospitality Order data is then set for finalize it by setting the Order setting, Contact Info, Payment and then it can be posted for Creation
Basket for EasyBurger Restaurant, Cheese Burger Meal, with Jalapeno Popper and Reg Orange Soda
{ "oneList": { "CardId": "10021", "ExternalType": 0, "IsHospitality": true, "Items": [{ "IsADeal": true, "ItemId": "S10025", "OnelistSubLines": [{ "DealLineId": 10000, "DealModLineId": 0, "Quantity": 1, "Type": 1 }, { "DealLineId": 20000, "DealModLineId": 70000, "Quantity": 1, "Type": 1, "Uom": "PORTION" }, { "DealLineId": 30000, "DealModLineId": 70000, "Quantity": 1, "Type": 1, "Uom": "REG" }], "Quantity": 1, "UnitOfMeasureId": null }], "ListType": 0, "SalesType": "TAKEAWAY", "StoreId": "S0017" } }