Skip to content

Instantly share code, notes, and snippets.

@amityadav9314
Last active September 1, 2023 10:35
Show Gist options
  • Save amityadav9314/3913a2cf8c60af9008e6f028b862a4a6 to your computer and use it in GitHub Desktop.
Save amityadav9314/3913a2cf8c60af9008e6f028b862a4a6 to your computer and use it in GitHub Desktop.
POSTBOOK_BOOK_STATE
{
"serviceName": "flights-booking",
"request": {
"requestCore": {
"travelerInfos": [
{
"id": "0",
"title": "Mr",
"firstName": "Robin",
"lastName": "Khandelwal",
"gender": "MALE",
"emailId": "khandelwalrobin8@gmail.com",
"mobileNumber": "8910863761",
"mobileNumberCountryCode": "91",
"paxType": "ADULT",
"passportInformation": {
}
}
],
"contactInfo": {
"emailId": "khandelwalrobin8@gmail.com",
"mobileNumberCountryCode": "91",
"mobileNumber": "8910863761",
"mobileNumberCountryName": "India"
},
"gstInfo": {
},
"bookingInfo": {
"journeys": [
{
"flightDtlsInfo": [
{
"fltLookUpKey": "BLR$CCU$2023-08-28 21:55$6E-975"
}
],
"jrnyKey": "BLR$CCU$2808232155$6E-975"
}
],
"pnrGrpdBookingInfo": {
"0": {
"pnrKey": "5f3b5e76-527d-4ab3-b478-e377a1572221",
"supplierName": "NAV42",
"credentialId": "B2C_MMT_6E_PROD_CPN",
"fareFamilyName": "SAVER",
"validatingCarrierCode": "6E",
"travelerAddons": {
"0": {
"ptcType": "ADULT",
"flightLevelAddons": {
"BLR$CCU$2023-08-28 21:55$6E-975": {
"addons": {
"SEATS": {
"addonList": [
{
"amount": 1500.0,
"code": "1C",
"quantity": 1
}
]
}
}
}
}
}
},
"totalFare": 4739.0,
"fareType": "REGULAR",
"lobSourceSwitchableConfig": {
"failOnSeatAttachFailure": true,
"failOnMealAttachFailure": true,
"failOnBaggageAttachFailure": true
},
"bookingExpiryConfig": {
}
}
}
},
"flightLookUpList": {
"BLR$CCU$2023-08-28 21:55$6E-975": {
"mrkAl": "6E",
"oprAl": "6E",
"fltNo": "975",
"arcrfTyp": "320",
"depInfo": {
"trmnl": "1",
"arpCd": "BLR",
"arpNm": "Bengaluru International Airport"
},
"arrInfo": {
"arpCd": "CCU",
"arpNm": "Netaji Subhash Chandra Bose International Airport"
},
"depTime": "2023-08-28 21:55",
"arrTime": "2023-08-29 00:40",
"durInMins": "165"
}
},
"currency": "inr",
"cabinClass": "ECONOMY"
},
"requestConfig": {
"correlationId": "F7857041-6F4E-4FC6-A93F-D60B5DEC2282",
"lob": "B2C",
"itineraryId": "31d1a103b29b8bba7b78982e7f6092980c796004",
"bookingId": "NF7GF6R1CG7Y9YSP4210",
"bookingRefId": "NF7GF6R1CG7Y9YSP4210",
"source": "MMT",
"platform": "IOS",
"currency": "inr",
"lobSourceSwitchableConfig": {
"isPostbookExtendedDelayEnabled": true
}
}
},
"response": {
"fbRoutingKeyConfig": {
"nonAirlineAddonRoutingKey": "non.airline.addon.post.book.event.routing.key",
"ticketingRoutingKey": "post.book.core.ticketing.routing.key",
"lobRoutingKey": "lob.post.book.event.routing.key"
},
"status": "SUCCESS",
"metaData": {
"currency": "inr",
"funnelType": "DOMESTIC",
"tcsInfo": {
"tcsApplicable": false,
"tcsAppliedOnPayment": false,
"tcsAmount": 0.0,
"tcsCollectedOnPayment": 0.0,
"panCardRequired": true,
"validateTcs": true,
"tcsProductDesc": "International Flight",
"tcsPercentage": 20.0
},
"autoWebCheckinEnabled": false,
"tripType": "OW",
"bookingStatusSLAInSec": 0,
"refundMode": "ORIGINAL_PAYMODE",
"bookingPushType": "CREATE",
"searchIntent": "BLR-CCU-20230828",
"mcId": "04857887019179384251536434797966386558",
"os": "iPhone OS_16.6",
"orgId": "",
"pageType": "TRAVELER",
"userAgent": "MakeMyTrip/8.9.8 (iPhone; iOS 16.6)",
"clientIp": "2409:40f2:20:94ee:2cf6:416c:a7e9:2ecf",
"userIp": "2409:40f2:20:94ee:2cf6:416c:a7e9:2ecf",
"vId": "",
"reviewDeepLink": "",
"fbClientMeta": {
"brand": "MMT"
},
"lobMojoPushEnabled": true,
"transitVisaRequired": false,
"crId": "F7857041-6F4E-4FC6-A93F-D60B5DEC2282",
"lostIdBooking": false,
"passBookerDetailsToMojo": false,
"loginType": "LOG_IN_TYPE_NOT_SET",
"maxBookingTimeSLA": 15,
"supplyLob": "",
"supplySource": "",
"lobPostBookingCallbackUrl": "",
"piiremovalCompleted": false,
"holdBooking": false,
"holdConvertedBooking": false,
"fareLockBooking": false,
"fareLockConvertedBooking": false,
"mmtPrivilege": false,
"funnelItiId": "31d1a103b29b8bba7b78982e7f6092980c796004",
"bookingId": "NF7GF6R1CG7Y9YSP4210",
"lob": "B2C",
"source": "MMT",
"region": "in",
"language": "eng",
"platform": "IOS",
"appVersion": "8.9.8",
"funnelVersion": "HERCULEAN_REVAMP",
"bookingType": "M01",
"deviceId": "2E1E1B8C-2F6E-43DC-8620-E981319FBE91",
"gstPercent": 18.0,
"bmsStoreSuccess": true,
"bookingStartTime": 1693230315487
},
"flightLookUpList": {
"BLR$CCU$2023-08-28 21:55$6E-975": {
"mrkAl": "6E",
"oprAl": "6E",
"fltNo": "975",
"arcrfTyp": "320",
"depInfo": {
"trmnl": "1",
"arpCd": "BLR",
"arpNm": ""
},
"arrInfo": {
"trmnl": "",
"arpCd": "CCU",
"arpNm": ""
},
"tchStp": [
],
"depTime": "2023-08-28 21:55",
"arrTime": "2023-08-29 00:40",
"durInMins": "0"
}
},
"airlineNameMap": {
"6E": "IndiGo"
},
"bookingInfo": {
"journeys": [
{
"jrnyKey": "BLR$CCU$2023-08-28 21:55$6E-975",
"flightDtlsInfo": [
{
"fltLookUpKey": "BLR$CCU$2023-08-28 21:55$6E-975",
"pnrGroupNum": 0
}
],
"durationInMins": 165,
"depDate": "2023-08-28 21:55",
"arrDate": "2023-08-29 00:40"
}
],
"frInfo": {
"pnrGrpdFrInfo": {
"0": {
"markup": 0.0,
"markdown": 0.0,
"fareType": "REGULAR",
"addOnsServices": {
},
"couponFare": true,
"ticketingRequired": false,
"status": "SUCCESS",
"paxFares": {
"ADULT": {
"markup": 0.0,
"markdown": 0.0,
"tcsAmount": 0.0,
"bs": 5500.0,
"tx": 1147.0,
"airlineFixedFee": 0.0,
"noOfPax": 1,
"tot": 6647.0,
"taxBreakups": [
{
"amnt": 50.0,
"code": "PHF",
"msg": ""
},
{
"amnt": 50.0,
"code": "RCF",
"msg": ""
},
{
"amnt": 236.0,
"code": "ASF",
"msg": ""
},
{
"amnt": 531.0,
"code": "UDF",
"msg": ""
},
{
"amnt": 189.0,
"code": "29GST",
"msg": ""
}
],
"segPrdctInfo": {
"BLR$CCU$2023-08-28 21:55$6E-975": {
"fareClass": "R",
"fareBasis": "RTCT",
"productClass": "T",
"cabin": "ECONOMY"
}
},
"commisionWorldFee": 0.0,
"mseMarkup": 0.0
}
},
"totFr": {
"bs": 5500.0,
"tx": 1147.0,
"tot": 6647.0,
"airlineFixedFee": 0.0,
"commisionWorldFee": 0.0,
"mseMarkup": 0.0
},
"rfndStatus": "NOF",
"pnrKey": "5f3b5e76-527d-4ab3-b478-e377a1572221",
"sPnr": "UR5BSP",
"aPnr": [
"UR5BSP"
],
"metaData": {
"currency": "INR",
"apiLatency": 0,
"ipAddress": "127.0.0.1",
"serviceName": "Flights-Nav42-Book",
"supplierName": "NAV42",
"credentialId": "B2C_MMT_6E_PROD_CPN",
"supplierLatency": 0,
"corporateCode": "",
"promoCode": "",
"cmsCurrency": "INR"
},
"travelerAddons": {
"0": {
"ptcType": "",
"flightLevelAddons": {
"BLR$CCU$2023-08-28 21:55$6E-975": {
"SEATS": [
{
"totalAmount": 1150.0,
"airlineCommission": 0.0,
"code": "1C",
"status": "SUCCESS",
"airlineAmount": 1500.0,
"mybizSubscriptionFreeSeatAvailed": true,
"mybizSubscriptionDiscount": 350.0,
"mybizSubscriptionFreeSeatsLabel": "",
"markdown": 0.0,
"markup": 0.0,
"sellPrice": 1500.0,
"mmtFareFamilyDiscount": 0.0,
"unitsSold": 1,
"count": 0,
"countApplicable": false,
"weightPerPiece": 0,
"tcsAmount": 0.0,
"refundable": false,
}
]
}
}
}
},
"travelerInfos": [
{
"id": "0",
"title": "Mr",
"firstName": "Robin",
"middleName": "",
"lastName": "Khandelwal",
"inputTitle": "Mr",
"inputFirstName": "Robin",
"inputMiddleName": "",
"inputLastName": "Khandelwal",
"gender": "MALE",
"emailId": "khandelwalrobin8@gmail.com",
"commEmailId": "CR7wiEyHjXIk0TnZszqt9OtdkSwdIeoi3BhjWIqVTD6iV5i6yTdWfzaca8h7aUa5uYji7wFaACnkIOV",
"commMobileNumber": "IL33WVQ0M5M",
"mobileNumber": "8910863761",
"mobileNumberCountryCode": "91",
"paxType": "ADULT",
"dateOfBirth": "",
"nationality": "",
"freqFlierInformation": [
],
"userPrimaryTravellerId": 9,
"bmsTravellerId": "9"
}
],
"ticketStatus": "SUCCESS",
"ticketInfos": [
],
"validatingCarrier": "6E",
"creationDate": "2023-08-28 19:15:16",
"fareFamily": "SAVER",
"accountCode": "",
"connectorFr": {
"totFr": {
"bs": 3683.0,
"tx": 1056.0,
"tot": 4739.0,
"airlineFixedFee": 0.0,
"commisionWorldFee": 0.0,
"mseMarkup": 0.0
},
"connectorCurrency": "INR",
"roe": 1.0
},
"fareChangeInfo": {
"inputFare": 6647.0,
"currentFare": 4739.0,
"reason": "SPECIAL_CRED",
"absorbed": true,
"isAbsorbed": true
},
"maxTicketingTime": 15,
"minTicketingTime": 1,
"ticketDelayInterval": 0,
"isCouponFare": true,
"fareServices": [
{
"title": "Economy SAVER",
"description": [
"Date change not allowed ",
"Non-refundable fare ",
"Free seats available ",
"Cabin baggage <b>7 Kgs</b>, Check-in baggage included "
]
}
]
}
},
"bookingFareInfo": {
"totFr": {
"base": 5500.0,
"tax": 1147.0,
"addonsAmount": 1160.0,
"convenienceFee": 309.0,
"convenienceFeePerSegmentPerPax": 309.0,
"pgCharges": 0.0,
"baseAdjustment": 0.0,
"taxesAdjustment": 0.0,
"serviceFee": 0.0,
"affiliateFee": 0.0,
"total": 7896.0,
"instantDiscount": 220.0,
"markdown": 0.0,
"airlineFixedFee": 0.0,
"commisionWorldFee": 0.0,
"mseMarkup": 0.0,
"taxBreakups": [
]
},
"importantInformation": {
"importantInfos": [
],
"polyglotMap": {
},
"journeyLevelInfos": [
],
"flightDtlsLevelInfo": [
]
},
"funnelAddonsInfo": {
"bookingLevelAddons": [
{
"markdown": 0.0,
"markup": 0.0,
"loyaltyDiscount": 0.0,
"mmtFareFamilyDiscount": 0.0,
"type": "CHARITY",
"itemCode": "CHARITY-10",
"costPrice": 10.0,
"sellPrice": 10.0,
"status": "SUCCESS",
"rfndStatus": "0",
"provider": "MMT"
},
{
"markdown": 0.0,
"markup": 0.0,
"loyaltyDiscount": 0.0,
"mmtFareFamilyDiscount": 0.0,
"type": "HOTEL_COUPON",
"itemCode": "hotel-coupon",
"costPrice": 0.0,
"sellPrice": 0.0,
"status": "PENDING",
"rfndStatus": "0",
"provider": "MMT"
},
{
"markdown": 0.0,
"markup": 0.0,
"loyaltyDiscount": 0.0,
"mmtFareFamilyDiscount": 0.0,
"type": "MYBIZ_SUBSCRIPTION",
"itemCode": "MYBIZ_SUBSCRIPTION_BUY",
"costPrice": 0.0,
"sellPrice": 0.0,
"status": "PENDING",
"rfndStatus": "0",
"provider": "MMT"
},
{
"markdown": 0.0,
"markup": 0.0,
"loyaltyDiscount": 0.0,
"mmtFareFamilyDiscount": 0.0,
"type": "MYBIZ_SUBSCRIPTION",
"itemCode": "MYBIZ_SUBSCRIPTION_FREE_SEATS",
"costPrice": 0.0,
"sellPrice": 0.0,
"status": "PENDING",
"rfndStatus": "0",
"provider": "MMT"
}
],
"journeyLevelAddonsInfo": [
],
"flightLevelAddons": [
]
},
"funnelInfo": {
"mybizSubsExtraDetails": {
},
"d2dExtraDetails": {
},
"insuranceDetails": [
],
"insuranceExtraDetails": [
],
"tripMoneyDetails": [
],
"travelServicesExtraDetails": {
},
"acmeExtraDetails": {
},
"spiceRTPCRExtraDetails": {
},
"cabExtraDetails": {
}
},
"couponInfo": [
{
"status": "SUCCESS",
"instant": true,
"moreVerificationRequired": false,
"promoCode": "upimmt",
"amount": 50.0,
"isInstant": true,
"couponType": "Instant",
"brandShare": 50.0,
"partnerShare": 0.0,
"provider": "MANTHAN",
"isMoreVerificationRequired": false,
"couponTypeCode": "INSTANT"
},
{
"status": "SUCCESS",
"instant": true,
"moreVerificationRequired": false,
"promoCode": "MMTBONUS",
"amount": 170.0,
"isInstant": true,
"couponType": "Instant",
"brandShare": 0.0,
"partnerShare": 0.0,
"provider": "MANTHAN",
"isMoreVerificationRequired": false,
"couponTypeCode": "INSTANT",
"additionalProperties": [
]
}
],
"paxFares": {
"ADULT": {
"base": 5500.0,
"tax": 1147.0,
"addonsAmount": 0.0,
"convenienceFee": 0.0,
"convenienceFeePerSegmentPerPax": 0.0,
"pgCharges": 0.0,
"baseAdjustment": 0.0,
"taxesAdjustment": 0.0,
"serviceFee": 0.0,
"affiliateFee": 0.0,
"total": 6647.0,
"instantDiscount": 0.0,
"markdown": 0.0,
"airlineFixedFee": 0.0,
"commisionWorldFee": 0.0,
"mseMarkup": 0.0,
"taxBreakups": [
]
}
},
"maxDelayInTicketing": 15,
"polyglotMap": {
"Cabin baggage <b>7 Kgs</b>, Check-in baggage included ": {
"ara": "u062du0642u064au0628u0629 u0627u0644u064au062f <b>7 u0643u062cu0645</b>, u0648u062au0634u0645u0644 u0627u0644u0623u0645u062au0639u0629 u0627u0644u0645u0633u062cu0644u0629 ",
"tam": "u0b95u0bc7u0baau0bbfu0ba9u0bcd u0baau0bc7u0b95u0bcdu0b95u0bc7u0b9cu0bcd <b>7 Kgs</b>, u0b9au0bc6u0b95u0bcd-u0b87u0ba9u0bcd u0baau0bc7u0b95u0bcdu0b95u0bc7u0b9cu0bcd u0b9au0bc7u0bb0u0bcdu0b95u0bcdu0b95u0baau0bcdu0baau0b9fu0bcdu0b9fu0bc1u0bb3u0bcdu0bb3u0ba4u0bc1 ",
"hin": "u0915u0947u092cu093fu0928 u0915u093e u0938u093eu092eu093eu0928 <b>7 Kgs</b>, u091au0947u0915-u0907u0928 u0938u093eu092eu093eu0928 u0936u093eu092eu093fu0932 u0939u0948 ",
"pan": "Cabin baggage <b>7 u0a15u0a3fu0a32u0a4bu0a17u0a4du0a30u0a3eu0a2e</b>, u0a1au0a48u0a71u0a15-u0a07u0a28 u0a38u0a2eu0a3eu0a28 u0a38u0a3cu0a3eu0a2eu0a32 u0a39u0a48 ",
"eng": "Cabin baggage <b>7 Kgs</b>, Check-in baggage included "
},
"Date change not allowed ": {
"tam": "u0ba4u0bc7u0ba4u0bbf u0baeu0bbeu0bb1u0bcdu0bb1u0baeu0bcd u0b85u0ba9u0bc1u0baeu0ba4u0bbfu0b95u0bcdu0b95u0baau0bcdu0baau0b9fu0bb5u0bbfu0bb2u0bcdu0bb2u0bc8 ",
"ara": "u0644u0627 u064au0633u0645u062d u0628u062au063au064au064au0631 u0627u0644u062au0627u0631u064au062e ",
"pan": "u0a24u0a3eu0a30u0a40u0a16 u0a2cu0a26u0a32u0a23 u0a26u0a40 u0a06u0a17u0a3fu0a06 u0a28u0a39u0a40u0a02 u0a39u0a48 ",
"hin": "u0924u093fu0925u093f u092au0930u093fu0935u0930u094du0924u0928 u0915u0940 u0905u0928u0941u092eu0924u093f u0928u0939u0940u0902 u0939u0948 ",
"eng": "Date change not allowed "
},
"Free seats available ": {
"tam": "u0b87u0bb2u0bb5u0b9a u0b9au0bc0u0b9fu0bcd u0b95u0bbfu0b9fu0bc8u0b95u0bcdu0b95u0bbfu0ba9u0bcdu0bb1u0ba9 ",
"ara": "u0627u0644u0645u0642u0627u0639u062f u0627u0644u0645u062cu0627u0646u064au0629 u0627u0644u0645u062au0627u062du0629 ",
"hin": "u0928u093fu0936u0941u0932u094du0915 u0938u0940u091fu0947u0902 u0909u092au0932u092cu094du0927 u0939u0948u0902 ",
"pan": "u0a2eu0a41u0a2bu0a24 u0a38u0a40u0a1fu0a3eu0a02 u0a09u0a2au0a32u0a2cu0a27 u0a39u0a28 ",
"eng": "Free seats available "
},
"Non-refundable fare ": {
"tam": "u0bb0u0bc0u0b83u0baau0ba3u0bcdu0b9fu0bcd u0b9au0bc6u0bafu0bcdu0baf u0baeu0bc1u0b9fu0bbfu0bafu0bbeu0ba4 u0b95u0b9fu0bcdu0b9fu0ba3u0baeu0bcd ",
"ara": "u0633u0639u0631 u063au064au0631 u0642u0627u0628u0644 u0644u0644u0627u0633u062au0631u062fu0627u062f ",
"pan": "u0a35u0a3eu0a2au0a38 u0a28u0a3e u0a15u0a30u0a28 u0a2fu0a4bu0a17 u0a15u0a3fu0a30u0a3eu0a07u0a06 ",
"hin": "u0928u0949u0928 u0930u093fu092bu0902u0921u0947u092cu0932 u0915u093fu0930u093eu092fu093e ",
"eng": "Non-refundable fare "
}
}
}
},
"transitVisaRequired": false
},
"profit-item": {
"fare": [
{
"type": "COUPON_FARE",
"sellPrice": 6647.0,
"costPrice": 4739.0,
"profitOrLoss": 1908.0,
"currency": "INR",
"provider": "AIRLINE",
"gstPercent": 18.0
},
{
"type": "CONVENIENCEFEE",
"sellPrice": 309.0,
"costPrice": 0.0,
"profitOrLoss": 309.0,
"currency": "INR",
"provider": "MMT",
"gstPercent": 18.0
}
],
"addons": [
]
},
"loss-item": {
"fare": [
{
"type": "INSTANT_COUPON",
"sellPrice": 0.0,
"costPrice": 220.0,
"profitOrLoss": 220.0,
"currency": "INR",
"provider": "MMT",
"gstPercent": 18.0
}
],
"addons": [
{
"type": "SEATS",
"sellPrice": 1150.0,
"costPrice": 1500.0,
"profitOrLoss": 350.0,
"currency": "INR",
"provider": "AIRLINE",
"gstPercent": 18.0
}
]
},
"contactInfo": {
"emailId": "khandelwalrobin8@gmail.com",
"commEmailId": "CR7wiEyHjXIk0TnZszqt9OtdkSwdIeoi3BhjWIqVTD6iV5i6yTdWfzaca8h7aUa5uYji7wFaACnkIOV",
"mobileNumberCountryCode": "91",
"mobileNumber": "8910863761",
"commMobileNumber": "IL33WVQ0M5M",
"address": {
"addressLine": "",
"city": "",
"state": "",
"postalCode": "",
"country": "",
"countryCode": "",
"areaCode": ""
}
},
"uuidBookerInfo": {
"regionCode": "MUMBAI",
"countryCode": "IN",
"userIp": "2409:40f2:20:94ee:2cf6:416c:a7e9:2ecf",
"firstName": "Robin",
"lastName": "khandelwal",
"title": "",
"billingAddressDetails": {
"address1": "South Mumbai",
"postalCode": "400101",
"addressId": "1",
"state": "Maharashtra",
"stateId": ""
},
"emailId": "khandelwalrobin8@gmail.com",
"commEmailId": "CR7wiEyHjXIk0TnZszqt9OtdkSwdIeoi3BhjWIqVTD6iV5i6yTdWfzaca8h7aUa5uYji7wFaACnkIOV",
"mobileNumberCountryCode": "91",
"mobileNumber": "8910863761",
"commMobileNumber": "IL33WVQ0M5M",
"uuid": "UXHTDF7Q66L",
"profileType": "PERSONAL",
"affiliateId": ""
},
"paymentInfo": {
"amountCharged": 7896.0,
"checkoutId": "893010234275986",
"channel": "Native",
"payMode": "WLT,UPI",
"paymentType": "FULL",
"wallet": [
{
"amount": 140.0,
"bonus": 0,
"real": 140,
"preApplied": false
}
]
},
"searchIntent": {
"locusBasedItineraries": [
{
"fromLocusId": "CTBLR",
"toLocusId": "CTCCU",
"fromAirport": true,
"toAirport": true,
"depDate": "2023-08-28",
"fromAirportCode": "BLR",
"toAirportCode": "CCU"
}
],
"adultCount": 1,
"childCount": 0,
"infantCount": 0,
"itinerary": [
{
"from": "BLR",
"to": "CCU",
"depDate": "2023-08-28"
}
],
"cc": "ECONOMY",
"fareType": "REGULAR"
},
"userConsent": [
"SKIP_DUPLICATE_BOOK",
"SAVE_MASTER_PAX_LIST"
]
},
"timestamp": 1693230316456,
"apiName": "/v5/postbook/"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment