Advertisement
ahadianNKC

Untitled

Dec 1st, 2022 (edited)
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 4.77 KB | None | 0 0
  1. //REQUEST
  2. {"orderType":"HMD","orderSource":"ANDROID","destinationStore":{"outletCode":"0216"},"timezone":"UTC+7","voucherUserId":"","deliveryType":"GoSend","rewardLines":[{"menuGroupCode":"G21","menuItemCode":"10508","quantity":1,"setItems":[]}],"orderLines":[{"menuGroupCode":"G42","menuItemCode":"11805","quantity":1,"setItems":[{"menuItemCode":"X1291","modifierGroupCode":"MF6","originalItemCode":"X1288","quantity":1}]}],"deliveryAddress":{"address":"Blok B1 No.20, RT.8/RW.3, Kedoya Utara, Kec. Kb. Jeruk, Kota Jakarta Barat, Daerah Khusus Ibukota Jakarta 11520, Indonesia","areaName":"AREA COACH JAKARTA 1 - 1","cityName":"JAKARTA","countryName":"Indonesia","geolocation":{"latitude":-6.162257899999999,"longitude":106.7590606},"name":"Blok B1 No.20","notes":"","plateNumber":"","stateName":"JAKARTA","zipCode":"99999"},"requestId":"AND-221201103125-50EB5FD2998B","schemaId":182,"envInfo":{"appVersion":"2.3.0","clientIp":"182.0.169.163","clientKey":"e5806b64-598d-414f-b7f7-83f9576eb6fb","extendInfo":"{}","merchantAppVersion":"1.0","orderOsType":"ANDROID","orderTerminalType":"APP","osType":"ANDROID","sdkVersion":"","sessionId":"","sourcePlatform":"IPG","tokenId":"","websiteLanguage":"en_US"},"payment":[{"paymentAmount":116600,"paymentMethodCode":"GPY","paymentUsed":116600,"reffNo":""}],"voucherLines":[],"user":{"deviceId":"androidID-4f95ea502c12caf5","deviceModel":"SM-A235F","deviceRoot":"false","id":"J52mxGRwauZmI1ferrGKI6U9ubr1","merchantId":"G193168137","name":"sofjan","orderLat":"-6.1969953","orderLon":"106.75432","osVersion":"12","phoneNo":"+628111975882"}}
  3.  
  4. //RESPONSE
  5. {
  6. "requestId": "AND-221201103125-50EB5FD2998B",
  7. "orderId": "02161201S220003",
  8. "acquirementId": "fe7d81c8-f2e0-4b96-86b3-76a77439c39f",
  9. "orderType": "HMD",
  10. "cancelTime": 0,
  11. "cancelReason": "",
  12. "cancelStatus": "",
  13. "caseOfCancellation": "",
  14. "notes": "",
  15. "orderSource": "ANDROID",
  16. "orderStatus": "COMPLETED",
  17. "paymentStatus": "SUCCESS",
  18. "transferStatus": "SUCCESS",
  19. "transferTime": "2022-12-01T10:32:39+07:00",
  20. "loyaltyPoints": 9,
  21. "totalPoints": 31,
  22. "paymentMethod": "GPY",
  23. "user": {
  24. "id": "J52mxGRwauZmI1ferrGKI6U9ubr1",
  25. "phoneNo": "+628111975882",
  26. "name": "sofjan",
  27. "lastOrderStatus": "INIT",
  28. "lastOrderId": "02161201S220003"
  29. },
  30. "destinationStore": {
  31. "outletCode": "0216",
  32. "regionCode": "0001",
  33. "taxPercentage": 10,
  34. "deliveryCharge": 16000,
  35. "posIPAddress": "172.10.44.21",
  36. "port": "8181",
  37. "faxNumber": "08117157053",
  38. "storeCityCode": "JKT",
  39. "storeName": "DAAN MOGOT",
  40. "storeAddress": "Jl Daan Mogot Raya No163 A Gang Macan Jakarta",
  41. "lat": -6.162752,
  42. "lng": 106.773077
  43. },
  44. "orderLines": [
  45. {
  46. "menuItemCode": "11805",
  47. "price": 90000,
  48. "tax": 9000,
  49. "quantity": 1,
  50. "isTaxable": true,
  51. "isCustomized": true,
  52. "name": "Crazy Deal 7",
  53. "description": "7 Pcs Chicken",
  54. "imageURL": "https://firebasestorage.googleapis.com/v0/b/kfcjv-production.appspot.com/o/MenuImages%2F11805.jpg?alt=media",
  55. "setItems": [
  56. {
  57. "menuItemCode": "X1291",
  58. "name": "7 Pcs Chicken Mix (4 Pcs Crispy Chicken +3 Pcs OR Chicken)",
  59. "quantity": 1,
  60. "price": 0,
  61. "isTaxable": false,
  62. "isCd": false,
  63. "originalItemCode": "X1288",
  64. "modifierGroupCode": "MF6",
  65. "tax": 0
  66. }
  67. ]
  68. }
  69. ],
  70. "rewardLines": [
  71. {
  72. "menuItemCode": "10508",
  73. "price": 0,
  74. "tax": 0,
  75. "quantity": 1,
  76. "isTaxable": false,
  77. "isCustomized": false,
  78. "name": "Free Kfc Pudding",
  79. "description": "Free Kfc Pudding",
  80. "imageURL": "https://firebasestorage.googleapis.com/v0/b/kfcjv-production.appspot.com/o/MenuImages%2F10508.jpg?alt=media",
  81. "setItems": null
  82. }
  83. ],
  84. "voucherLines": [
  85. ],
  86. "deliveryAddress": {
  87. "address": "Blok B1 No.20, RT.8RW.3, Kedoya Utara, Kec. Kb. Jeruk, Kota Jakarta Barat, Daerah Khusus Ibukota Jakarta 11520, Indonesia",
  88. "geolocation": {
  89. "latitude": -6.162257899999999,
  90. "longitude": 106.7590606
  91. },
  92. "notes": "",
  93. "zipCode": "99999",
  94. "areaName": "AREA COACH JAKARTA 1 - 1",
  95. "cityName": "JAKARTA",
  96. "plateNumber": ""
  97. },
  98. "payment": [
  99. {
  100. "paymentMethodCode": "GPY",
  101. "paymentAmount": 116600,
  102. "paymentUsed": 116600,
  103. "reffNo": "",
  104. "subPaymentMethod": ""
  105. }
  106. ],
  107. "orderCalculation": [
  108. {
  109. "key": "totalAmount",
  110. "value": 90000
  111. },
  112. {
  113. "key": "totalFnB",
  114. "value": 90000
  115. },
  116. {
  117. "key": "totalDelivery",
  118. "value": 16000
  119. },
  120. {
  121. "key": "totalRestaurantTax",
  122. "value": 9000
  123. },
  124. {
  125. "key": "totalDeliveryTax",
  126. "value": 1600
  127. },
  128. {
  129. "key": "total",
  130. "value": 116600
  131. },
  132. {
  133. "key": "totalRounding",
  134. "value": 0
  135. },
  136. {
  137. "key": "totalSales",
  138. "value": 116600
  139. },
  140. {
  141. "key": "totalPayment",
  142. "value": 116600
  143. },
  144. {
  145. "key": "storePercentage",
  146. "value": 10
  147. },
  148. {
  149. "key": "restaurantTax",
  150. "value": 10
  151. },
  152. {
  153. "key": "valueAddedTax",
  154. "value": 11
  155. },
  156. {
  157. "key": "deliveryTax",
  158. "value": 10
  159. }
  160. ],
  161. "createdAt": "2022-12-01T10:31:32+07:00",
  162. "orderStatusHistory": null,
  163. "pointBlockedReason": "",
  164. "deliveryType": "GoSend",
  165. "deliveryStatus": "DELIVERED",
  166. "refundStatus": "",
  167. "refundTime": null
  168. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement