Created
June 1, 2022 10:40
-
-
Save anooptajawal/2de878b20d43d39544672c3e8c8892d3 to your computer and use it in GitHub Desktop.
Transaction to https://next-staging.almosafer.com/api/accommodation/cart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:method: POST | |
:path: /api/accommodation/cart | |
:authority: next-staging.almosafer.com | |
:scheme: https | |
x-authorization: Bearer I28JS$s92823l8LskS&#l23 | |
accept: application/json | |
x-app-id: 54 | |
authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.dE8xTjJFM2VIbVBBOGk0VG9FUnVLWnpDLzY2ZDdZTkJsMkpoZ0ZRQndlb0xoRXdLSGZCMitQOUpFc2UycjVyUDVrL0owWXRGWVZwWDBRSGF0cGxjRFZMSUowWGhSb05vT2hCalZqd2o1QXRjOTdkblFJRy9saGVCVFR4Zk5QK1NoTzBnL292ZktjRkZDenlrMk5WbXpVbjU0N1VoNUJIUmNOSXgrYitjQ3kxek12VGMyOWVtQlFzeERlZFFwS2VNclVVN1YzSjl2Y0hkd1dEdDgvbEwwWGoxcThPNUY5ZEdsVUo5RStHdzk4MFVXcWNnKzR0cFJ3ZjExNmc4T2M0Vmk2bG80L1JzUFYrMzhsVnZpbDd0ZGl1Wmc0bzEzalpRNUxZMDRWSWpFV1hESzZWSGxYbE9DK0lXUDN0dElvaUpJTEh0eTNpZlB1U0Q3V2ZaSUcvN2hwdUZXTnFHWXA4alFiVExLYmxNKy95Umd6VTZqdFhPY1lxYjAvUUdHNEFCd2JBczZjWUpaTDdUVEdBZmtEK0dLNThaUnpod0tvN1lROHN5Ly9OeU5UVT0.xGF2EUbZs_avc1nGAKRt3y5bXeMwhTtOx9jxkaVusvo | |
x-locale: en-us | |
accept-language: en-us | |
x-ev-devicelocale: en-us | |
x-base-country: SA | |
x-base-currency: SAR | |
x-currency: SAR | |
x-ev-config: DEVELOPMENT | |
x-ev-networktype: WIFI | |
x-tz: Asia/Dubai | |
x-platform: android | |
x-ev-devicename: SM-G973F | |
x-ev-devicemodel: samsung | |
x-ev-osversion: 12 | |
x-ev-vendorid: 31144283-4913-4e85-9fa3-c1f1f241b4a8 | |
user-agent: 31/7.13.0/com.travel.almosafer.beta/android4.2.1/GB/samsung/SM-G973F/phone/2042/1080/high/long/normal/en/android/12 | |
x-fingerprint: b8f2ed97d63a307a | |
x-ev-appversion: 7.13.0 | |
x-ev-appbuildnumber: 4148 | |
content-type: application/json; charset=UTF-8 | |
content-length: 43 | |
accept-encoding: gzip | |
{"id":"914","sid":"PROPERTY_SR--186605401"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:status: 200 | |
date: Wed, 01 Jun 2022 10:37:33 GMT | |
content-type: application/json | |
content-encoding: gzip | |
spanid: ee45c00da2bfbb23 | |
traceid: ee45c00da2bfbb23 | |
vary: origin,access-control-request-method,access-control-request-headers,accept-encoding | |
x-geoip-city: Dubai | |
x-geoip-country: United Arab Emirates | |
x-geoip-country-code: AE | |
x-geoip-region: Dubai | |
x-is-mobile: true | |
x-real-ip: 5.195.224.128 | |
x-cache: Miss from cloudfront | |
via: 1.1 6eb77e673c2aa566dbadbc817458b976.cloudfront.net (CloudFront) | |
x-amz-cf-pop: DUS51-P2 | |
x-amz-cf-id: pPbTA9RRduqzFVEMfsdTUDJuAPIWEuOYnxEIK1zqs1bFgPeazRZ7Yw== | |
cf-cache-status: DYNAMIC | |
expect-ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct" | |
strict-transport-security: max-age=15552000; includeSubDomains; preload | |
x-content-type-options: nosniff | |
server: cloudflare | |
cf-ray: 714750854bd541e2-AMS | |
alt-svc: h3=":443"; ma=86400, h3-29=":443"; ma=86400 | |
{"cartId":"cart-e7a47867-9d37-4379-a614-c06dd3c8d32b","trackId":"453b0688-4604-42c7-9067-2aa54cd42d77","status":10,"storeId":54,"groupId":2,"currency":"SAR","customerEmail":"","customerId":"","displayCurrency":"SAR","products":[{"id":"prod-cc4981bb-f3dd-4b4e-8120-e0e268a4b44b","_id":"6297416c3b1ed45daf9e61d8","paymentStatus":71,"status":10,"vendorStatus":"Pending","supplierStatus":"Pending","qty":1,"valid":true,"options":{"canDisplay":true,"property":{"propertySearchIDResponse":{"checkIn":"2022-06-21","checkOut":"2022-06-25","checkInDayId":2,"checkInDay":"TUESDAY","propertyDetailsExtension":{"propertyId":914,"nameEn":"Comfy Chalet with Pool","nameAr":"شاليه مريح مع مسبح","originalNameEn":"Passion Istiraha","originalNameAr":"استراحة باشن","propertyType":{"id":9,"nameEn":"Camp","nameAr":"مخيم"},"insuranceAmount":1000,"checkinBeginTime":"15:00:00","checkinEndTime":"15:00:00","checkoutBeginTime":"10:00:00","checkoutEndTime":"10:00:00","active":true,"size":502,"thumbnailImageUrl":"https://c2c-images-prod.s3.eu-west-1.amazonaws.com/642c0492-28cf-4c4b-aca7-8cc4b14c29fa.jpeg","pools":[{"nameAr":"مسبح خارجي","nameEn":"Outdoor pool","depth":1,"width":5.81,"height":8.13,"unitMeasurement":"Meters"},{"nameAr":"مسبح خارجي","nameEn":"Outdoor pool","depth":1,"width":4,"height":6,"unitMeasurement":"Meters"}],"location":{"countryCode":"SA","region":{"id":11,"nameEn":"Mecca","nameAr":"مكة المكرمة"},"city":{"id":24,"nameEn":"Jeddah","nameAr":"جدة"},"area":{"id":184,"nameEn":"Abhur Al Shamaliyah","nameAr":"ابحر الشمالية"},"addressEn":"Prince Abdullah Al-Faisal Street","addressAr":"شارع الأمير عبدالله الفيصل","latitude":21.7688793,"longitude":39.1179382,"radius":2000},"amenities":[{"id":22,"nameEn":"Speakers","nameAr":"سماعات"},{"id":44,"nameEn":"Coffee and tea","nameAr":"قهوة و شاي"},{"id":35,"nameEn":"Shower ","nameAr":"دش"},{"id":25,"nameEn":"Outdoor pool","nameAr":"مسبح خارجي"},{"id":36,"nameEn":"Refrigerator","nameAr":"ثلاجة"},{"id":47,"nameEn":"Toilet paper","nameAr":"مناديل حمام"},{"id":48,"nameEn":"Soap","nameAr":"صابون"},{"id":49,"nameEn":"Fire extinguisher","nameAr":"مطفأة حريق"},{"id":16,"nameEn":"Grass lawn","nameAr":"مسطحات خضراء"},{"id":38,"nameEn":"Oven","nameAr":"فرن"},{"id":28,"nameEn":"TV","nameAr":"تلفزيون"},{"id":29,"nameEn":"Wi-Fi","nameAr":"انترنت واي فاي"},{"id":40,"nameEn":"Kettle","nameAr":"غلاية"},{"id":30,"nameEn":"Air conditioning","nameAr":"مكيف هواء"},{"id":41,"nameEn":"Hair dryer","nameAr":"مجفف شعر"},{"id":31,"nameEn":"Parking","nameAr":"باركينج"},{"id":42,"nameEn":"Cooking equipment","nameAr":"ادوات طبخ"},{"id":32,"nameEn":"Mandi barrel","nameAr":"برميل مندي"}],"rules":{"insurance":1000,"fixedRules":[],"otherRules":[{"ruleDescriptionEn":"- It is forbidden to play songs in the courtyard of the lounge.\n- There is a DJ and laser room that opens for a fee of 300 riyals.\n- 3 cars only are allowed in front of the restroom.","ruleDescriptionAr":"- ممنوع تشغيل الاغاني في حوش الاستراحة.\n- يوجد غرفة دي جي وليزر تفتح برسوم 300 ريال.\n- عدد السيارات أمام الاستراحة 3 سيارات فقط.\n\n \n\n\n"}]},"reviewDetails":[],"contacts":[{"username":"********","firstName":"فاروق","phone":"96659978382411","email":"test@seera.sa","hasWhatsapp":true,"userType":"Host","userTypeEn":"Host","userTypeAr":"مالك"}],"priceDetail":{"totalPrice":4200,"originalPrice":4200,"hostPreApprovalRequired":false,"seasonalPrices":[],"dailyPrices":[{"numberOfDays":1,"dayId":2,"price":700,"discountPrice":700},{"numberOfDays":1,"dayId":5,"price":1400,"discountPrice":1400},{"numberOfDays":1,"dayId":3,"price":700,"discountPrice":700},{"numberOfDays":1,"dayId":4,"price":1400,"discountPrice":1400}],"currency":"SAR","unitCancellationPolicies":[]},"property":{"id":302,"nameAr":"استراحة باشن لاند","nameEn":"Passion Land 1"},"mediaUrl":"https://my.matterport.com/show/?m=wtk62Qb79ou&qs=1"}}},"inputVat":0,"outputVat":0,"vatConfig":{"product":false,"markup":false,"discount":false,"method":"AUTO"}},"name":"Comfy Chalet with Pool","code":"accommodation_a698e75b-22ed-428a-b977-2d2ac16ce747","type":"accommodation","displayCurrency":"SAR","category":"accommodation","price":{"base":4200.0,"currencyRate":0.0,"commission":0.0,"commissionCurrencyRate":0.0,"tax":0.0,"taxCurrencyRate":0.0,"discount":0.0,"discountCurrencyRate":0.0,"total":4200.0,"totalCurrencyRate":1.0,"miscellaneous":0.0,"markup":0.0,"inputVat":0.0,"outputVat":0.0,"inputVatMeta":0.0,"outputVatMeta":0.0,"currency":"SAR","commissionCurrency":"","taxCurrency":"","discountCurrency":"","totalCurrency":"SAR"},"displayPrice":{"base":4200.0,"currencyRate":0.0,"commission":0.0,"commissionCurrencyRate":0.0,"tax":0.0,"taxCurrencyRate":0.0,"discount":0.0,"discountCurrencyRate":0.0,"total":4200.0,"totalCurrencyRate":1.0,"miscellaneous":0.0,"markup":0.0,"inputVat":0.0,"outputVat":0.0,"inputVatMeta":0.0,"outputVatMeta":0.0,"currency":"SAR","commissionCurrency":"","taxCurrency":"","discountCurrency":"","totalCurrency":"SAR"},"vendorPrice":{"base":4200.0,"currencyRate":0.0,"commission":0.0,"commissionCurrencyRate":0.0,"tax":0.0,"taxCurrencyRate":0.0,"discount":0.0,"discountCurrencyRate":0.0,"total":4200.0,"totalCurrencyRate":1.0,"miscellaneous":0.0,"markup":0.0,"inputVat":0.0,"outputVat":0.0,"inputVatMeta":0.0,"outputVatMeta":0.0,"currency":"SAR","commissionCurrency":"","taxCurrency":"","discountCurrency":"","totalCurrency":"SAR"},"supplierPrice":{"base":3910.2,"currencyRate":0.0,"commission":252.0,"commissionCurrencyRate":0.0,"tax":0.0,"taxCurrencyRate":0.0,"discount":0.0,"discountCurrencyRate":0.0,"total":3910.2,"totalCurrencyRate":1.0,"miscellaneous":0.0,"markup":0.0,"inputVat":0.0,"outputVat":0.0,"inputVatMeta":0.0,"outputVatMeta":0.0,"currency":"SAR","commissionCurrency":"","taxCurrency":"","discountCurrency":"","totalCurrency":"SAR"},"displayCurrencyRate":1.0,"additionalData":{"priceBreakdownDetail":{"priceBreakdown":{"sale":{"host":{"hostSellingPrice":4200,"almCommissionPercentage":6,"almCommissionValue":252,"almCommissionVATPercentage":15,"almCommissionVATValue":37.8,"hostGetPaid":3910.2,"penaltyPercentage":0,"penaltyValue":0,"margin":252},"guest":{"sellingPrice":4200,"discount":0,"discountAmount":0,"priceAfterDiscount":4200,"outputVAT":0,"inputVAT":37.8,"almCommissionPercentage":6,"almCommissionValue":252,"almCommissionVATPercentage":15,"almCommissionVATValue":37.8,"totalPaid":4200,"costWithoutInputVAT":3910.2,"costWithInputVAT":3948,"cancellationPercentage":0,"penaltyValue":0,"hostGetPaid":0,"guestPays":0,"totalGuestPays":0,"margin":252}},"cancellation":{"host":{"hostSellingPrice":4200,"almCommissionPercentage":21.73913,"almCommissionValue":913.043478,"almCommissionVATPercentage":15,"almCommissionVATValue":136.956522,"hostGetPaid":-1050,"source":"host","penaltyPercentage":25,"penaltyValue":1050,"margin":913.043478},"guest":{"sellingPrice":4200,"discount":0,"discountAmount":0,"priceAfterDiscount":0,"outputVAT":0,"inputVAT":0,"almCommissionPercentage":6,"almCommissionValue":75.6,"almCommissionVATPercentage":15,"almCommissionVATValue":11.34,"totalPaid":0,"costWithoutInputVAT":0,"costWithInputVAT":0,"source":"guest","cancellationPercentage":30,"penaltyValue":1260,"hostGetPaid":1173.06,"guestPays":1260,"totalGuestPays":1260,"margin":75.6}}}},"cancellationPolicies":{"guestCancellationPolicies":[{"refundable":true,"policy":{"cancellationPolicyId":1,"policyTypeNameAr":"مستردة جزئيا","policyTypeNameEn":"Partially Refundable","checkinTime":"2022-06-21T15:00:00.000","lastCancellationDate":"2022-06-21T15:00:00.000","currency":"SAR","chargedAmount":1260,"sellingAmount":4200,"penalityPercentage":30}}],"hostCancellationPolicies":[{"policy":{"cancellationPolicyId":1,"checkinTime":"2022-06-21T15:00:00.000","currency":"SAR","chargedAmount":1050,"sellingAmount":4200,"penalityPercentage":25}}]},"almCancellationOptions":[{"id":1,"name":"Full Refund To Host"},{"id":2,"name":"Partial Refund To Host"},{"id":3,"name":"No Refund To Host"}],"pricingRules":{"checkinDate":"2022-06-21","checkoutDate":"2022-06-25","checkinTime":"15:00:00","checkoutTime":"10:00:00","countryCode":"SA","regionName":"Mecca","cityName":"Jeddah","areaName":"Abhur Al Shamaliyah","unitName":"Comfy Chalet with Pool","unitTypeName":"Camp","numberOfNights":4,"id":"914","unitId":"914","total":4200}},"allowedPaymentMethods":[{"label":"Credit Card","provider":"checkoutcom"},{"label":"Wallet","provider":"wallet"},{"label":"Qitaf","provider":"qitaf"}],"createdAt":"2022-06-01 10:37:32","updatedAt":"2022-06-01 10:37:32"},{"id":"prod-088fc9fb-6edb-408c-aadc-cd0d7c231c8f","_id":"6297416ce597051a9c7aa0e0","paymentStatus":71,"status":58,"vendorStatus":"Pending","supplierStatus":"Pending","qty":1,"valid":true,"options":{"canDisplay":true,"inputVat":0,"outputVat":0,"log":{"vat":0,"details":{"items":[],"rate":0.15,"subTotal":0}}},"name":"vat","code":"vat","type":"vat","displayCurrency":"SAR","category":"vat","price":{"base":0.0,"currencyRate":0.0,"commission":0.0,"commissionCurrencyRate":0.0,"tax":0.0,"taxCurrencyRate":0.0,"discount":0.0,"discountCurrencyRate":0.0,"total":0.0,"totalCurrencyRate":1.0,"miscellaneous":0.0,"markup":0.0,"inputVat":0.0,"outputVat":0.0,"inputVatMeta":0.0,"outputVatMeta":0.0,"currency":"SAR","commissionCurrency":"","taxCurrency":"","discountCurrency":"","totalCurrency":"SAR"},"displayPrice":{"base":0.0,"currencyRate":0.0,"commission":0.0,"commissionCurrencyRate":0.0,"tax":0.0,"taxCurrencyRate":0.0,"discount":0.0,"discountCurrencyRate":0.0,"total":0.0,"totalCurrencyRate":1.0,"miscellaneous":0.0,"markup":0.0,"inputVat":0.0,"outputVat":0.0,"inputVatMeta":0.0,"outputVatMeta":0.0,"currency":"SAR","commissionCurrency":"","taxCurrency":"","discountCurrency":"","totalCurrency":"SAR"},"displayCurrencyRate":1.0,"allowedPaymentMethods":[{"label":"Credit Card","provider":"checkoutcom"},{"label":"Wallet","provider":"wallet"},{"label":"Qitaf","provider":"qitaf"}],"createdAt":"2022-06-01 10:37:32","updatedAt":"2022-06-01 10:37:32"}],"coupon":"","displayTotals":{"total":4200.0,"totalCurrencyRate":0.0,"commission":0.0,"commissionCurrencyRate":0.0,"tax":0.0,"taxCurrencyRate":0.0,"discount":0.0,"discountCurrencyRate":0.0,"subtotal":4200.0,"subtotalCurrencyRate":0.0,"miscellaneous":0.0,"markup":0.0,"inputVat":0.0,"outputVat":0.0,"inputVatMeta":0.0,"outputVatMeta":0.0,"totalCurrency":"SAR","commissionCurrency":"SAR","taxClass":"","taxCurrency":"SAR","discountCurrency":"SAR","subtotalCurrency":"SAR"},"totals":{"total":4200.0,"totalCurrencyRate":0.0,"commission":0.0,"commissionCurrencyRate":0.0,"tax":0.0,"taxCurrencyRate":0.0,"discount":0.0,"discountCurrencyRate":0.0,"subtotal":4200.0,"subtotalCurrencyRate":0.0,"miscellaneous":0.0,"markup":0.0,"inputVat":0.0,"outputVat":0.0,"inputVatMeta":0.0,"outputVatMeta":0.0,"totalCurrency":"SAR","commissionCurrency":"SAR","taxClass":"","taxCurrency":"SAR","discountCurrency":"SAR","subtotalCurrency":"SAR"},"statusMessage":"New","grandTotals":{"total":4200.0,"totalCurrencyRate":0.0,"commission":0.0,"commissionCurrencyRate":0.0,"tax":0.0,"taxCurrencyRate":0.0,"discount":0.0,"discountCurrencyRate":0.0,"subtotal":4200.0,"subtotalCurrencyRate":0.0,"miscellaneous":0.0,"markup":0.0,"inputVat":0.0,"outputVat":0.0,"inputVatMeta":0.0,"outputVatMeta":0.0,"totalCurrency":"SAR","commissionCurrency":"SAR","taxClass":"","taxCurrency":"SAR","discountCurrency":"SAR","subtotalCurrency":"SAR"},"isManualOrder":false,"isManual":false,"allowedPaymentMethods":[{"label":"Credit Card","provider":"checkoutcom"},{"label":"Wallet","provider":"wallet"},{"label":"Qitaf","provider":"qitaf"}],"additionalData":{"headers":{"x-request-id":"2fe275259f6a0e23ebb9a6196afa7a83","x-real-ip":"5.195.224.128","x-tz":"Asia/Dubai","x-forwarded-host":"next-staging.almosafer.com","x-forwarded-port":"443","x-forwarded-proto":"https","x-forwarded-scheme":"https","x-scheme":"https","x-original-forwarded-for":"5.195.224.128, 141.101.77.56, 130.176.215.83","accept":"application/json","accept-encoding":"gzip","accept-language":"en-us","authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.dE8xTjJFM2VIbVBBOGk0VG9FUnVLWnpDLzY2ZDdZTkJsMkpoZ0ZRQndlb0xoRXdLSGZCMitQOUpFc2UycjVyUDVrL0owWXRGWVZwWDBRSGF0cGxjRFZMSUowWGhSb05vT2hCalZqd2o1QXRjOTdkblFJRy9saGVCVFR4Zk5QK1NoTzBnL292ZktjRkZDenlrMk5WbXpVbjU0N1VoNUJIUmNOSXgrYitjQ3kxek12VGMyOWVtQlFzeERlZFFwS2VNclVVN1YzSjl2Y0hkd1dEdDgvbEwwWGoxcThPNUY5ZEdsVUo5RStHdzk4MFVXcWNnKzR0cFJ3ZjExNmc4T2M0Vmk2bG80L1JzUFYrMzhsVnZpbDd0ZGl1Wmc0bzEzalpRNUxZMDRWSWpFV1hESzZWSGxYbE9DK0lXUDN0dElvaUpJTEh0eTNpZlB1U0Q3V2ZaSUcvN2hwdUZXTnFHWXA4alFiVExLYmxNKy95Umd6VTZqdFhPY1lxYjAvUUdHNEFCd2JBczZjWUpaTDdUVEdBZmtEK0dLNThaUnpod0tvN1lROHN5Ly9OeU5UVT0.xGF2EUbZs_avc1nGAKRt3y5bXeMwhTtOx9jxkaVusvo","cdn-loop":"cloudflare","cf-connecting-ip":"5.195.224.128","cf-ipcountry":"AE","cf-ray":"714750854bd541e2-AMS","cf-visitor":"{\"scheme\":\"https\"}","cloudfront-forwarded-proto":"https","cloudfront-is-desktop-viewer":"false","cloudfront-is-mobile-viewer":"true","cloudfront-is-smarttv-viewer":"false","cloudfront-is-tablet-viewer":"false","cloudfront-viewer-country":"NL","content-type":"application/json; charset=UTF-8","true-client-ip":"5.195.224.128","user-agent":"31/7.13.0/com.travel.almosafer.beta/android4.2.1/GB/samsung/SM-G973F/phone/2042/1080/high/long/normal/en/android/12","via":"1.1 6eb77e673c2aa566dbadbc817458b976.cloudfront.net (CloudFront)","x-amz-cf-id":"pPbTA9RRduqzFVEMfsdTUDJuAPIWEuOYnxEIK1zqs1bFgPeazRZ7Yw==","x-app-id":"54","x-authorization":"Bearer I28JS$s92823l8LskS&#l23","x-base-country":"SA","x-base-currency":"SAR","x-currency":"SAR","x-ev-appbuildnumber":"4148","x-ev-appversion":"7.13.0","x-ev-config":"DEVELOPMENT","x-ev-devicelocale":"en-us","x-ev-devicemodel":"samsung","x-ev-devicename":"SM-G973F","x-ev-networktype":"WIFI","x-ev-osversion":"12","x-ev-vendorid":"31144283-4913-4e85-9fa3-c1f1f241b4a8","x-fingerprint":"b8f2ed97d63a307a","x-locale":"en-us","x-platform":"android","x-b3-traceid":"ee45c00da2bfbb23","x-b3-spanid":"34e6d533152915cc","x-b3-parentspanid":"ee45c00da2bfbb23","x-b3-sampled":"1","app-id":"54","content-length":"0","connection":"Keep-Alive","officeId":"almosafer.com","currency":"SAR","countrycode":"SA","appid":"54","x-site-id":"almosafer","x-user-id":"","x-user-email":"","x-user-account-role":""},"OmsSourceTracker":{"cart":"v2","order":"sdk","pricing":"v2","pricing-call-sdk":false,"pricing-call-v2":true,"enable-pricing-logger":false,"enable-pricing-validator":false}},"createdAt":"2022-06-01 10:37:32","updatedAt":"2022-06-01 10:37:32"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment