Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- POST 'TicketClose' request:
- --------------------------------------------------
- {
- "BasketResult": {
- "CalcStatus": 1,
- "CashierNo": 1,
- "BasketItems": [
- {
- "ResultPrice": 0.3,
- "ResultPriceDelta": 0.0,
- "ResultAmount": 0.3,
- "AppliedQuantity": 1.0,
- "AvailableQuantity": 0.0,
- "RoundedResultPrice": 0.0,
- "RoundedResultAmount": 0.0,
- "IsPromotable": true,
- "BasketItemDiscountList": [],
- "BasketItemPromotionList": [],
- "FinalLineAmount": 0.3,
- "FinalLinePrice": 0.3,
- "PredefinedDiscount": 0.0,
- "FinalPredefinedDiscount": 0.0,
- "PromotionDiscount": 0.0,
- "PromotionDiscountPerAppliedItem": 0.0,
- "FinalPromotionDiscount": 0.0,
- "PromotionSurcharge": 0.0,
- "DiscountSurcharge": 0.0,
- "TotalDiscount": 0.0,
- "TotalSurcharge": 0.0,
- "ResultPriceRoundSourceCorrection": 0.0,
- "RoundedCalculatedAmount": 0.0,
- "RoundedResultAmountDelta": 0.0,
- "FinalLineDiscount": 0.0,
- "LineDiscount": 0.0,
- "RoundedLineDiscount": 0.0,
- "SuppresedDiscountAmount": 0.0,
- "RoundedSuppresedDiscountAmount": 0.0,
- "PromoThresholdQuantity": 0.0,
- "PromoThresholdAmount": 0.0,
- "LoyaltyPointsAwarded": 0.0,
- "BasePointsAwarded": 0.0,
- "TicketLine": 10,
- "ArtNo": " 0000000000011",
- "Quantity": 1.0,
- "Price": 0.3,
- "BasePrice": 0.3,
- "Amount": 0.3,
- "BaseAmount": 0.3,
- "IsSecondPrice": false,
- "ArtName": "SAUCE CAPSULE TOMATO 14G",
- "IsWet": false,
- "IsCanceled": false,
- "PumpNumber": 0,
- "MeasurUnit": "each",
- "ItemType": 0,
- "ReceiptLine": 10,
- "DepartmentNo": 1092,
- "IsPreauthItem": false,
- "IsOfferPossible": true,
- "RoundedResultAmountCorrection": 0.0,
- "RoundedResultPriceCorrection": 0.0,
- "UnitPrice": 0.0,
- "UnitQuantity": 0.0,
- "EFTRestrictionCode": 13,
- "ItemGrp": "09-01-05-Other Bakery ",
- "DiscountAllowed": true
- }
- ],
- "BasketMops": [
- {
- "MopNo": 1,
- "ID": 634113,
- "MopType": 0,
- "AmountPaid": 0.3,
- "AmountTendered": 0.30000000000000004,
- "Name": "Cash",
- "IsSurcharge": false,
- "LCCustomerData": {
- "CustomerName": "",
- "CustomerNo": 0,
- "CustomerCardNo": 0,
- "CustomerCardName": "",
- "CustomerCarVRN": ""
- }
- }
- ],
- "TicketNo": 2477,
- "TransactionUid": "11506102477180716153942",
- "TicketOpenDate": "2018-07-16T15:39:42+03:00",
- "TimeStamp": "2018-07-16T12:39:48.2171405Z",
- "FinalPromoDiscount": 0.0,
- "BasketTotal": 0.3,
- "FinalBasketDiscount": 0.0,
- "FinalBasketPromotionDiscount": 0.0,
- "FinalBasketPredefinedDiscount": 0.0,
- "FinalBasketTotal": 0.3,
- "FinalDifference": 0.0,
- "FinalDifferenceByLines": 0.0,
- "BasketDiscount": 0.0,
- "BasketPercentDiscount": 0.0,
- "TotalSurcharge": 0.0,
- "IsPromoApplied": false,
- "IsDiscountApplied": false,
- "BasketPaid": 0.3,
- "BasketPaidSurcharge": 0.0,
- "SurchargeMopCount": 0,
- "TicketDetails": {
- "CustomerAccount": "",
- "CustomerCardNo": "",
- "CustomerMediaMessage": {
- "PrintingBlocks": [
- {
- "Immediate": false,
- "Lines": [
- {
- "Format": "",
- "TextLine": "Loyalty transaction:"
- },
- {
- "Format": "",
- "TextLine": "11506102477180716153942"
- },
- {
- "Format": "",
- "TextLine": ""
- },
- {
- "Format": "",
- "TextLine": "Download the Ocean app to your phone or visit caltex.com.au/ocean to sign up today"
- }
- ]
- }
- ]
- },
- "CustomerName": "",
- "CustomerPromoText": "",
- "HandleTabIsRunning": false,
- "HandlingResult": 0,
- "LoyaltyCustomerCardNo": "",
- "PosNo": 1,
- "RefundTicketType": false,
- "ShiftNo": 9,
- "SiteNo": "11506",
- "TicketEndReason": 12,
- "TicketNo": 2477,
- "TicketType": 0,
- "TimeStamp": 1531748382,
- "VoidTicketType": false,
- "TicketGUID": "{9BBBE84C-69EC-46E0-BB4A-D18D7C79443B}"
- },
- "LoyaltyPointsAwarded": 0.0,
- "BasePointsAwarded": 0.0
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement