responseData requestType OfferQuery workstationID 01 requestID 5108166

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
"responseData": {
"requestType": "OfferQuery",
"workstationID": "01",
"requestID": "51081660",
"overallResult": "Success",
"actionCode": 0,
"actionCodeDescription": "OK"
},
"customerData": [
{
"customerDataType": "LoyaltyCard",
"customerDataValue": "29274892001",
"loyaltyType": "Shell",
"loyaltyTimeStamp": "2015-06-18T13:33:03+01:00",
"totalPointBalance": 203.5,
"newPointBalance": 213.5,
"pointsAwarded": 0,
"pointsRedeemed": 0,
"cashRedeemed": 0,
"qualifyingVisit": "Visit Tracker 1 of 10",
"pointsBalance": [
{
"points": 213.5,
"expiryDate": "2015-06-18T13:33:03+01:00"
}
],
"productRestrictions": [
{
"restrictionCodes": "023",
"additionalProductInfo": "Tobacco"
}
]
}
],
"totalAmount": 2.79,
"saleItems": [
{
"itemID": 1,
"saleItemType": "Sale",
"productCode": "075",
"categoryCode": "1021",
"amount": 2.79,
"originalAmount": 3.1,
"vatRate": 20,
"unitMeasure": "EA",
"unitPrice": 3.1,
"quantity": 1,
"additionalProductCode": "0000020851323",
"additionalProductInfo": "COSTA LARGE MW CAPPUCCIN",
"loyaltyOffers": [
{
"loyaltyOfferID": "149710299"
}
],
"priceAdjustments": [
{
"priceAdjustmentID": 1,
"priceAdjustmentType": "RealtimeOffer-U",
"amount": 0.31,
"unitPrice": 0.31,
"quantity": 1,
"categoryCode": "1021",
"reason": "10% Discount on Costa Exp",
"additionalProductCode": "0000020851323",
"loyaltyOfferID": "149710299"
}
]
}
],
"receipt": {
"receiptLines": [
"10% Discount on Costa Exp",
"Fuel Reward Visit Tracker 10 OF 10",
"Transaction points "
]
}
}