Advertisement
ahadianNKC

Untitled

Dec 1st, 2022 (edited)
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 6.88 KB | None | 0 0
  1. //REQUEST
  2. {"orderType":"PNP","orderSource":"ANDROID","destinationStore":{"outletCode":"0216"},"timezone":"UTC+7","voucherUserId":"f154f048-12eb-4b05-b308-c7916c71cedc","deliveryType":"","rewardLines":[],"orderLines":[{"menuGroupCode":"G45","menuItemCode":"4869","quantity":1,"setItems":[]},{"menuGroupCode":"G43","menuItemCode":"11583","quantity":1,"setItems":[{"menuItemCode":"X98","modifierGroupCode":"M8F","originalItemCode":"X98","quantity":1},{"menuItemCode":"X1188","modifierGroupCode":" ","originalItemCode":"","quantity":1},{"menuItemCode":"X1353","modifierGroupCode":"ME2","originalItemCode":"X1240","quantity":1},{"menuItemCode":"X1302","modifierGroupCode":" ","originalItemCode":"","quantity":1}]},{"menuGroupCode":"G21","menuItemCode":"10872","quantity":1,"setItems":[]}],"deliveryAddress":{"address":"","areaName":"AREA COACH JAKARTA 1 - 1","cityName":"JAKARTA","countryName":"Indonesia","geolocation":{"latitude":-6.210179,"longitude":106.849806},"name":"","notes":"DINE_IN","plateNumber":"","stateName":"JAKARTA","zipCode":"99999"},"requestId":"AND-221201104943-26B348012636","schemaId":178,"envInfo":{"appVersion":"2.3.0","clientIp":"182.0.232.136","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":57500,"paymentMethodCode":"GPY","paymentUsed":57500,"reffNo":""}],"voucherLines":[{"menuGroupCode":"G21","menuItemCode":"10872","quantity":1,"setItems":[{"menuItemCode":"X1240","modifierGroupCode":"ME2","quantity":1},{"menuItemCode":"X1024","modifierGroupCode":" ","quantity":1}]}],"user":{"deviceId":"androidID-5db580ef0f24b765","deviceModel":"CPH2333","deviceRoot":"false","id":"vhcNqflrJXhcClDWKeuxqqwHA1R2","merchantId":"G193168137","name":"Atiek ","orderLat":"-6.1628914","orderLon":"106.77302","osVersion":"12","phoneNo":"+6289610848424"}}
  3.  
  4. //RESPONSE
  5. {
  6. "requestId": "AND-221201104943-26B348012636",
  7. "orderId": "02161201N220006",
  8. "acquirementId": "4f996e92-b9bc-4467-8bcd-35d6e1b8702a",
  9. "orderType": "PNP",
  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:50:11+07:00",
  20. "loyaltyPoints": 5,
  21. "totalPoints": 105,
  22. "paymentMethod": "GPY",
  23. "user": {
  24. "id": "vhcNqflrJXhcClDWKeuxqqwHA1R2",
  25. "phoneNo": "+6289610848424",
  26. "name": "Atiek",
  27. "lastOrderStatus": "INIT",
  28. "lastOrderId": "02161201N220006"
  29. },
  30. "destinationStore": {
  31. "outletCode": "0216",
  32. "regionCode": "0001",
  33. "taxPercentage": 10,
  34. "deliveryCharge": 0,
  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": "4869",
  47. "price": 9091,
  48. "tax": 909,
  49. "quantity": 1,
  50. "isTaxable": true,
  51. "isCustomized": false,
  52. "name": "Rice",
  53. "description": "Rice",
  54. "imageURL": "https://firebasestorage.googleapis.com/v0/b/kfcjv-production.appspot.com/o/MenuImages%2F4869.jpg?alt=media",
  55. "setItems": null
  56. },
  57. {
  58. "menuItemCode": "11583",
  59. "price": 43182,
  60. "tax": 4319,
  61. "quantity": 1,
  62. "isTaxable": true,
  63. "isCustomized": true,
  64. "name": "Classic 5",
  65. "description": "1 PC Chicken + 1 Coleslaw + 1 Cream Soup + 1 Mocha Float",
  66. "imageURL": "https://firebasestorage.googleapis.com/v0/b/kfcjv-production.appspot.com/o/MenuImages%2F11583.jpg?alt=media",
  67. "setItems": [
  68. {
  69. "menuItemCode": "X98",
  70. "name": "Mocha Float",
  71. "quantity": 1,
  72. "price": 0,
  73. "isTaxable": false,
  74. "isCd": false,
  75. "originalItemCode": "X98",
  76. "modifierGroupCode": "M8F",
  77. "tax": 0
  78. },
  79. {
  80. "menuItemCode": "X1188",
  81. "name": "Cream Soup",
  82. "quantity": 1,
  83. "price": 0,
  84. "isTaxable": false,
  85. "isCd": false,
  86. "originalItemCode": "",
  87. "modifierGroupCode": " ",
  88. "tax": 0
  89. },
  90. {
  91. "menuItemCode": "X1353",
  92. "name": "1 Pcs Hot & Cheesy Chicken",
  93. "quantity": 1,
  94. "price": 2727,
  95. "isTaxable": true,
  96. "isCd": false,
  97. "originalItemCode": "X1240",
  98. "modifierGroupCode": "ME2",
  99. "tax": 273
  100. },
  101. {
  102. "menuItemCode": "X1302",
  103. "name": "Coleslaw New",
  104. "quantity": 1,
  105. "price": 0,
  106. "isTaxable": false,
  107. "isCd": false,
  108. "originalItemCode": "",
  109. "modifierGroupCode": " ",
  110. "tax": 0
  111. }
  112. ]
  113. },
  114. {
  115. "menuItemCode": "10872",
  116. "price": 0,
  117. "tax": 0,
  118. "quantity": 1,
  119. "isTaxable": false,
  120. "isCustomized": false,
  121. "name": "Free Combo New Customer",
  122. "description": "Free Combo New Customer",
  123. "imageURL": "https://firebasestorage.googleapis.com/v0/b/kfcjv-production.appspot.com/o/MenuImages%2F10872.jpg?alt=media",
  124. "setItems": [
  125. {
  126. "menuItemCode": "X1240",
  127. "name": "1 Pcs Chicken",
  128. "quantity": 1,
  129. "price": 0,
  130. "isTaxable": false,
  131. "isCd": false,
  132. "originalItemCode": "",
  133. "modifierGroupCode": "ME2",
  134. "tax": 0
  135. },
  136. {
  137. "menuItemCode": "X1024",
  138. "name": "Coca-Cola Reguler",
  139. "quantity": 1,
  140. "price": 0,
  141. "isTaxable": false,
  142. "isCd": false,
  143. "originalItemCode": "",
  144. "modifierGroupCode": " ",
  145. "tax": 0
  146. }
  147. ]
  148. }
  149. ],
  150. "rewardLines": [
  151. ],
  152. "voucherLines": [
  153. {
  154. "menuItemCode": "10872",
  155. "price": 0,
  156. "tax": 0,
  157. "quantity": 1,
  158. "isTaxable": false,
  159. "isCustomized": false,
  160. "name": "Free Combo New Customer",
  161. "description": "Free Combo New Customer",
  162. "imageURL": "https://firebasestorage.googleapis.com/v0/b/kfcjv-production.appspot.com/o/MenuImages%2F10872.jpg?alt=media",
  163. "setItems": [
  164. {
  165. "menuItemCode": "X1240",
  166. "name": "1 Pcs Chicken",
  167. "quantity": 1,
  168. "price": 0,
  169. "isTaxable": false,
  170. "isCd": false,
  171. "originalItemCode": "",
  172. "modifierGroupCode": "ME2",
  173. "tax": 0
  174. },
  175. {
  176. "menuItemCode": "X1024",
  177. "name": "Coca-Cola Reguler",
  178. "quantity": 1,
  179. "price": 0,
  180. "isTaxable": false,
  181. "isCd": false,
  182. "originalItemCode": "",
  183. "modifierGroupCode": " ",
  184. "tax": 0
  185. }
  186. ]
  187. }
  188. ],
  189. "deliveryAddress": {
  190. "address": "",
  191. "geolocation": {
  192. "latitude": -6.210179,
  193. "longitude": 106.849806
  194. },
  195. "notes": "DINE_IN N6",
  196. "zipCode": "99999",
  197. "areaName": "AREA COACH JAKARTA 1 - 1",
  198. "cityName": "JAKARTA",
  199. "plateNumber": ""
  200. },
  201. "payment": [
  202. {
  203. "paymentMethodCode": "GPY",
  204. "paymentAmount": 57500,
  205. "paymentUsed": 57500,
  206. "reffNo": "",
  207. "subPaymentMethod": ""
  208. }
  209. ],
  210. "orderCalculation": [
  211. {
  212. "key": "totalAmount",
  213. "value": 52273
  214. },
  215. {
  216. "key": "totalFnB",
  217. "value": 52273
  218. },
  219. {
  220. "key": "totalRestaurantTax",
  221. "value": 5228
  222. },
  223. {
  224. "key": "total",
  225. "value": 57501
  226. },
  227. {
  228. "key": "totalRounding",
  229. "value": -1
  230. },
  231. {
  232. "key": "totalSales",
  233. "value": 57500
  234. },
  235. {
  236. "key": "totalPayment",
  237. "value": 57500
  238. },
  239. {
  240. "key": "storePercentage",
  241. "value": 10
  242. },
  243. {
  244. "key": "restaurantTax",
  245. "value": 10
  246. },
  247. {
  248. "key": "valueAddedTax",
  249. "value": 11
  250. },
  251. {
  252. "key": "deliveryTax",
  253. "value": 10
  254. }
  255. ],
  256. "createdAt": "2022-12-01T10:49:49+07:00",
  257. "orderStatusHistory": null,
  258. "pointBlockedReason": "",
  259. "deliveryType": "",
  260. "deliveryStatus": "NONE",
  261. "refundStatus": "",
  262. "refundTime": null
  263. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement