Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //REQUEST
- {"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"}}
- //RESPONSE
- {
- "requestId": "AND-221201104943-26B348012636",
- "orderId": "02161201N220006",
- "acquirementId": "4f996e92-b9bc-4467-8bcd-35d6e1b8702a",
- "orderType": "PNP",
- "cancelTime": 0,
- "cancelReason": "",
- "cancelStatus": "",
- "caseOfCancellation": "",
- "notes": "",
- "orderSource": "ANDROID",
- "orderStatus": "COMPLETED",
- "paymentStatus": "SUCCESS",
- "transferStatus": "SUCCESS",
- "transferTime": "2022-12-01T10:50:11+07:00",
- "loyaltyPoints": 5,
- "totalPoints": 105,
- "paymentMethod": "GPY",
- "user": {
- "id": "vhcNqflrJXhcClDWKeuxqqwHA1R2",
- "phoneNo": "+6289610848424",
- "name": "Atiek",
- "lastOrderStatus": "INIT",
- "lastOrderId": "02161201N220006"
- },
- "destinationStore": {
- "outletCode": "0216",
- "regionCode": "0001",
- "taxPercentage": 10,
- "deliveryCharge": 0,
- "posIPAddress": "172.10.44.21",
- "port": "8181",
- "faxNumber": "08117157053",
- "storeCityCode": "JKT",
- "storeName": "DAAN MOGOT",
- "storeAddress": "Jl Daan Mogot Raya No163 A Gang Macan Jakarta",
- "lat": -6.162752,
- "lng": 106.773077
- },
- "orderLines": [
- {
- "menuItemCode": "4869",
- "price": 9091,
- "tax": 909,
- "quantity": 1,
- "isTaxable": true,
- "isCustomized": false,
- "name": "Rice",
- "description": "Rice",
- "imageURL": "https://firebasestorage.googleapis.com/v0/b/kfcjv-production.appspot.com/o/MenuImages%2F4869.jpg?alt=media",
- "setItems": null
- },
- {
- "menuItemCode": "11583",
- "price": 43182,
- "tax": 4319,
- "quantity": 1,
- "isTaxable": true,
- "isCustomized": true,
- "name": "Classic 5",
- "description": "1 PC Chicken + 1 Coleslaw + 1 Cream Soup + 1 Mocha Float",
- "imageURL": "https://firebasestorage.googleapis.com/v0/b/kfcjv-production.appspot.com/o/MenuImages%2F11583.jpg?alt=media",
- "setItems": [
- {
- "menuItemCode": "X98",
- "name": "Mocha Float",
- "quantity": 1,
- "price": 0,
- "isTaxable": false,
- "isCd": false,
- "originalItemCode": "X98",
- "modifierGroupCode": "M8F",
- "tax": 0
- },
- {
- "menuItemCode": "X1188",
- "name": "Cream Soup",
- "quantity": 1,
- "price": 0,
- "isTaxable": false,
- "isCd": false,
- "originalItemCode": "",
- "modifierGroupCode": " ",
- "tax": 0
- },
- {
- "menuItemCode": "X1353",
- "name": "1 Pcs Hot & Cheesy Chicken",
- "quantity": 1,
- "price": 2727,
- "isTaxable": true,
- "isCd": false,
- "originalItemCode": "X1240",
- "modifierGroupCode": "ME2",
- "tax": 273
- },
- {
- "menuItemCode": "X1302",
- "name": "Coleslaw New",
- "quantity": 1,
- "price": 0,
- "isTaxable": false,
- "isCd": false,
- "originalItemCode": "",
- "modifierGroupCode": " ",
- "tax": 0
- }
- ]
- },
- {
- "menuItemCode": "10872",
- "price": 0,
- "tax": 0,
- "quantity": 1,
- "isTaxable": false,
- "isCustomized": false,
- "name": "Free Combo New Customer",
- "description": "Free Combo New Customer",
- "imageURL": "https://firebasestorage.googleapis.com/v0/b/kfcjv-production.appspot.com/o/MenuImages%2F10872.jpg?alt=media",
- "setItems": [
- {
- "menuItemCode": "X1240",
- "name": "1 Pcs Chicken",
- "quantity": 1,
- "price": 0,
- "isTaxable": false,
- "isCd": false,
- "originalItemCode": "",
- "modifierGroupCode": "ME2",
- "tax": 0
- },
- {
- "menuItemCode": "X1024",
- "name": "Coca-Cola Reguler",
- "quantity": 1,
- "price": 0,
- "isTaxable": false,
- "isCd": false,
- "originalItemCode": "",
- "modifierGroupCode": " ",
- "tax": 0
- }
- ]
- }
- ],
- "rewardLines": [
- ],
- "voucherLines": [
- {
- "menuItemCode": "10872",
- "price": 0,
- "tax": 0,
- "quantity": 1,
- "isTaxable": false,
- "isCustomized": false,
- "name": "Free Combo New Customer",
- "description": "Free Combo New Customer",
- "imageURL": "https://firebasestorage.googleapis.com/v0/b/kfcjv-production.appspot.com/o/MenuImages%2F10872.jpg?alt=media",
- "setItems": [
- {
- "menuItemCode": "X1240",
- "name": "1 Pcs Chicken",
- "quantity": 1,
- "price": 0,
- "isTaxable": false,
- "isCd": false,
- "originalItemCode": "",
- "modifierGroupCode": "ME2",
- "tax": 0
- },
- {
- "menuItemCode": "X1024",
- "name": "Coca-Cola Reguler",
- "quantity": 1,
- "price": 0,
- "isTaxable": false,
- "isCd": false,
- "originalItemCode": "",
- "modifierGroupCode": " ",
- "tax": 0
- }
- ]
- }
- ],
- "deliveryAddress": {
- "address": "",
- "geolocation": {
- "latitude": -6.210179,
- "longitude": 106.849806
- },
- "notes": "DINE_IN N6",
- "zipCode": "99999",
- "areaName": "AREA COACH JAKARTA 1 - 1",
- "cityName": "JAKARTA",
- "plateNumber": ""
- },
- "payment": [
- {
- "paymentMethodCode": "GPY",
- "paymentAmount": 57500,
- "paymentUsed": 57500,
- "reffNo": "",
- "subPaymentMethod": ""
- }
- ],
- "orderCalculation": [
- {
- "key": "totalAmount",
- "value": 52273
- },
- {
- "key": "totalFnB",
- "value": 52273
- },
- {
- "key": "totalRestaurantTax",
- "value": 5228
- },
- {
- "key": "total",
- "value": 57501
- },
- {
- "key": "totalRounding",
- "value": -1
- },
- {
- "key": "totalSales",
- "value": 57500
- },
- {
- "key": "totalPayment",
- "value": 57500
- },
- {
- "key": "storePercentage",
- "value": 10
- },
- {
- "key": "restaurantTax",
- "value": 10
- },
- {
- "key": "valueAddedTax",
- "value": 11
- },
- {
- "key": "deliveryTax",
- "value": 10
- }
- ],
- "createdAt": "2022-12-01T10:49:49+07:00",
- "orderStatusHistory": null,
- "pointBlockedReason": "",
- "deliveryType": "",
- "deliveryStatus": "NONE",
- "refundStatus": "",
- "refundTime": null
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement