Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //REQUEST
- {
- "orderType": "HMD",
- "orderSource": "WEB",
- "destinationStore": {
- "outletCode": "0316"
- },
- "voucherUserId": "",
- "deliveryType": "GoSend",
- "rewardLines": [
- {
- "menuItemCode": "10508",
- "quantity": 2,
- "menuGroupCode": "G21",
- "setItems": []
- }
- ],
- "orderLines": [
- {
- "menuGroupCode": "G42",
- "menuItemCode": "10737",
- "quantity": 1,
- "setItems": [
- {
- "modifierGroupCode": "M8J",
- "menuItemCode": "X43",
- "originalItemCode": "",
- "quantity": 5
- },
- {
- "modifierGroupCode": "M8E",
- "menuItemCode": "X1027",
- "originalItemCode": "",
- "quantity": 5
- },
- {
- "modifierGroupCode": "ME6",
- "menuItemCode": "X1244",
- "originalItemCode": "",
- "quantity": 1
- }
- ]
- }
- ],
- "deliveryAddress": {
- "address": ", Jalan Kemang Timur, Kota Jakarta Selatan",
- "areaName": "Kota Jakarta Selatan",
- "cityName": "Daerah Khusus Ibukota Jakarta",
- "countryName": "Indonesia",
- "geolocation": {
- "latitude": -6.2659692,
- "longitude": 106.8238277
- },
- "name": "",
- "notes": "",
- "plateNumber": "",
- "stateName": "Daerah Khusus Ibukota Jakarta",
- "zipCode": ""
- },
- "requestId": "WEB-f813b3cc-5980-49c9-88c2-846bb9d74a8a",
- "schemaId": 500,
- "envInfo": {
- "appVersion": "1.2.0",
- "clientIp": "103.87.86.155",
- "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": 179500,
- "paymentMethodCode": "GPW",
- "paymentUsed": 179500,
- "reffNo": ""
- }
- ],
- "voucherLines": [],
- "user": {
- "deviceId": "Desktop",
- "deviceModel": "Desktop",
- "deviceRoot": "false",
- "id": "zjh7ApoxCNMekJMl8gyisBrwREa2",
- "merchantId": "",
- "name": "rafi fake akun test",
- "orderLat": "-6.255717",
- "orderLon": "106.811644",
- "osVersion": "10",
- "phoneNo": "6288297699788"
- },
- "voucher": {
- "voucherId": "",
- "voucherUserId": "",
- "voucherName": "",
- "voucherNameId": "",
- "voucherNameEn": "",
- "voucherImage": ""
- }
- }
- //RESPONSE
- {
- "data": {
- "createdDate": "2022-12-07T13:55:24.152460227+07:00",
- "deliveryAddress": {
- "address": ", Jalan Kemang Timur, Kota Jakarta Selatan",
- "areaName": "Kota Jakarta Selatan",
- "cityName": "Daerah Khusus Ibukota Jakarta",
- "countryName": "Indonesia",
- "distance": 2.4,
- "geolocation": {
- "latitude": -6.2659692,
- "longitude": 106.8238277
- },
- "notes": "",
- "plateNumber": "",
- "stateName": "Daerah Khusus Ibukota Jakarta",
- "zipCode": ""
- },
- "deliveryStatus": "INIT",
- "deliveryType": "GoSend",
- "destinationStore": {
- "deliveryCharge": 20000,
- "deliveryChargeTax": 2000,
- "faxNumber": "000-0000000",
- "lat": -6.255717,
- "lng": 106.811644,
- "outletCode": "0316",
- "phoneNumber": "000-0000000",
- "port": "9999",
- "posIPAddress": "172.16.9.155",
- "regionCode": "0002",
- "regionalName": "REGIONAL JAKARTA 2",
- "storeAddress": "Jl. Kemang Raya No. 14B Jakarta ",
- "storeCityCode": "JKT",
- "storeCityName": "JAKARTA",
- "storeName": "KEMANG",
- "taxPercentage": 10
- },
- "notes": "",
- "orderCalculation": [
- {
- "key": "totalAmount",
- "value": 143182
- },
- {
- "key": "totalFnB",
- "value": 143182
- },
- {
- "key": "totalDelivery",
- "value": 20000
- },
- {
- "key": "totalRestaurantTax",
- "value": 14318
- },
- {
- "key": "totalDeliveryTax",
- "value": 2000
- },
- {
- "key": "total",
- "value": 179500
- },
- {
- "key": "totalRounding",
- "value": 0
- },
- {
- "key": "totalSales",
- "value": 179500
- },
- {
- "key": "totalPayment",
- "value": 179500
- },
- {
- "key": "storePercentage",
- "value": 10
- },
- {
- "key": "restaurantTax",
- "value": 10
- },
- {
- "key": "valueAddedTax",
- "value": 11
- },
- {
- "key": "deliveryTax",
- "value": 10
- }
- ],
- "orderId": "03161207M220002",
- "orderLines": [
- {
- "isCd": false,
- "isCustomized": false,
- "isMenuSet": true,
- "isTaxable": true,
- "menuGroupCode": "G42",
- "menuItemCode": "10737",
- "name": "Working Lunch Dinner 1",
- "price": 143182,
- "quantity": 1,
- "setItems": [
- {
- "isCd": false,
- "isTaxable": false,
- "menuItemCode": "X43",
- "modifierGroupCode": "M8J",
- "name": "Rice*",
- "originalItemCode": "",
- "price": 0,
- "quantity": 5,
- "tax": 0
- },
- {
- "isCd": false,
- "isTaxable": false,
- "menuItemCode": "X1027",
- "modifierGroupCode": "M8E",
- "name": "Coca-Cola Medium",
- "originalItemCode": "",
- "price": 0,
- "quantity": 5,
- "tax": 0
- },
- {
- "isCd": false,
- "isTaxable": false,
- "menuItemCode": "X1244",
- "modifierGroupCode": "ME6",
- "name": "5 Pcs Chicken",
- "originalItemCode": "",
- "price": 0,
- "quantity": 1,
- "tax": 0
- }
- ],
- "tax": 14318
- }
- ],
- "orderSource": "WEB",
- "orderStatus": "INIT",
- "orderType": "HMD",
- "payment": [
- {
- "paymentAmount": 179500,
- "paymentMethodCode": "GPW",
- "paymentUsed": 179500,
- "reffNo": ""
- }
- ],
- "paymentStatus": "INIT",
- "requestId": "WEB-f813b3cc-5980-49c9-88c2-846bb9d74a8a",
- "rewardLines": [
- {
- "isCd": false,
- "isCustomized": false,
- "isMenuSet": false,
- "isTaxable": false,
- "menuGroupCode": "G21",
- "menuItemCode": "10508",
- "name": "Free Kfc Pudding",
- "price": 0,
- "quantity": 2,
- "setItems": null,
- "tax": 0
- }
- ],
- "schemaId": 500,
- "serveType": "",
- "transferStatus": "INIT",
- "user": {
- "id": "zjh7ApoxCNMekJMl8gyisBrwREa2",
- "lastOrderId": "03161207M220002",
- "lastOrderStatus": "INIT",
- "name": "rafi fake akun test",
- "phoneNo": "6288297699788"
- },
- "voucher": {
- "voucherId": "",
- "voucherUserId": "",
- "voucherNameID": "",
- "voucherNameEN": "",
- "voucherImage": "",
- "voucherType": ""
- },
- "voucherLines": []
- },
- "message": "SUCCESS",
- "code": 200
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement