responseData requestType OfferQuery workstationID POS01 requestID 1005

 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
{
"responseData":{
"requestType":"OfferQuery",
"workstationID":"POS01",
"requestID":"100501",
"overallResult":"Success",
"actionCode":0,
"actionCodeDescription":"OK"
},
"loyalty":{
"loyaltyCard":"292123456789"
},
"totalAmount":21.80,
"saleItems":[
{
"itemID":1,
"saleItemType":"Sale",
"productCode":"021",
"categoryCode":"1010",
"amount":20.00,
"originalAmount":20.00,
"vatRate":22.00,
"unitMeasure":"EA",
"unitPrice":5.000,
"quantity":4.000,
"additionalProductCode":"4003116415030",
"additionalProductInfo":"VPOWER NITRO+"
},
{
"itemID":2,
"saleItemType":"Sale",
"productCode":"072",
"categoryCode":"5025",
"amount":1.80,
"originalAmount":2.00,
"vatRate":22.00,
"unitMeasure":"EA",
"unitPrice":2.000,
"quantity":1.000,
"additionalProductCode":"4003116412222",
"additionalProductInfo":"Coffee",
"priceAdjustments":[
{
"priceAdjustmentID":1,
"priceAdjustmentType":"RealtimeOffer-A",
"amount":0.20,
"unitPrice":0.200,
"quantity":1.000,
"categoryCode":"5025",
"additionalProductCode":"2421456",
"reason":"10% Coffee Promotion"
"loyaltyOfferID":"4367843"
}
],
"loyaltyOffers":[{
"loyaltyOfferID":"4367843"
}]
}
],
"receipt": {
"receiptlines":[{"Fuel Reward Visit Tracker 6 of 10"}]
}