Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //REQUEST
- {"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"}}
- //RESPONSE
- {
- "requestId": "AND-221201103125-50EB5FD2998B",
- "orderId": "02161201S220003",
- "acquirementId": "fe7d81c8-f2e0-4b96-86b3-76a77439c39f",
- "orderType": "HMD",
- "cancelTime": 0,
- "cancelReason": "",
- "cancelStatus": "",
- "caseOfCancellation": "",
- "notes": "",
- "orderSource": "ANDROID",
- "orderStatus": "COMPLETED",
- "paymentStatus": "SUCCESS",
- "transferStatus": "SUCCESS",
- "transferTime": "2022-12-01T10:32:39+07:00",
- "loyaltyPoints": 9,
- "totalPoints": 31,
- "paymentMethod": "GPY",
- "user": {
- "id": "J52mxGRwauZmI1ferrGKI6U9ubr1",
- "phoneNo": "+628111975882",
- "name": "sofjan",
- "lastOrderStatus": "INIT",
- "lastOrderId": "02161201S220003"
- },
- "destinationStore": {
- "outletCode": "0216",
- "regionCode": "0001",
- "taxPercentage": 10,
- "deliveryCharge": 16000,
- "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": "11805",
- "price": 90000,
- "tax": 9000,
- "quantity": 1,
- "isTaxable": true,
- "isCustomized": true,
- "name": "Crazy Deal 7",
- "description": "7 Pcs Chicken",
- "imageURL": "https://firebasestorage.googleapis.com/v0/b/kfcjv-production.appspot.com/o/MenuImages%2F11805.jpg?alt=media",
- "setItems": [
- {
- "menuItemCode": "X1291",
- "name": "7 Pcs Chicken Mix (4 Pcs Crispy Chicken +3 Pcs OR Chicken)",
- "quantity": 1,
- "price": 0,
- "isTaxable": false,
- "isCd": false,
- "originalItemCode": "X1288",
- "modifierGroupCode": "MF6",
- "tax": 0
- }
- ]
- }
- ],
- "rewardLines": [
- {
- "menuItemCode": "10508",
- "price": 0,
- "tax": 0,
- "quantity": 1,
- "isTaxable": false,
- "isCustomized": false,
- "name": "Free Kfc Pudding",
- "description": "Free Kfc Pudding",
- "imageURL": "https://firebasestorage.googleapis.com/v0/b/kfcjv-production.appspot.com/o/MenuImages%2F10508.jpg?alt=media",
- "setItems": null
- }
- ],
- "voucherLines": [
- ],
- "deliveryAddress": {
- "address": "Blok B1 No.20, RT.8RW.3, Kedoya Utara, Kec. Kb. Jeruk, Kota Jakarta Barat, Daerah Khusus Ibukota Jakarta 11520, Indonesia",
- "geolocation": {
- "latitude": -6.162257899999999,
- "longitude": 106.7590606
- },
- "notes": "",
- "zipCode": "99999",
- "areaName": "AREA COACH JAKARTA 1 - 1",
- "cityName": "JAKARTA",
- "plateNumber": ""
- },
- "payment": [
- {
- "paymentMethodCode": "GPY",
- "paymentAmount": 116600,
- "paymentUsed": 116600,
- "reffNo": "",
- "subPaymentMethod": ""
- }
- ],
- "orderCalculation": [
- {
- "key": "totalAmount",
- "value": 90000
- },
- {
- "key": "totalFnB",
- "value": 90000
- },
- {
- "key": "totalDelivery",
- "value": 16000
- },
- {
- "key": "totalRestaurantTax",
- "value": 9000
- },
- {
- "key": "totalDeliveryTax",
- "value": 1600
- },
- {
- "key": "total",
- "value": 116600
- },
- {
- "key": "totalRounding",
- "value": 0
- },
- {
- "key": "totalSales",
- "value": 116600
- },
- {
- "key": "totalPayment",
- "value": 116600
- },
- {
- "key": "storePercentage",
- "value": 10
- },
- {
- "key": "restaurantTax",
- "value": 10
- },
- {
- "key": "valueAddedTax",
- "value": 11
- },
- {
- "key": "deliveryTax",
- "value": 10
- }
- ],
- "createdAt": "2022-12-01T10:31:32+07:00",
- "orderStatusHistory": null,
- "pointBlockedReason": "",
- "deliveryType": "GoSend",
- "deliveryStatus": "DELIVERED",
- "refundStatus": "",
- "refundTime": null
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement