Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 2

curl --location

'https://securerfs.yatra.com/flightsapi/air-pay-book-service/b2bdomapi/booking/
pool/trigger?searchId=180dca89-8c6f-4911-b587-0a9add3afdf8&msid=180dca89-8c6f-4911-
b587-
0a9add3afdf8&mode=Instant&bpc=true&flightIdCSV=DELCOKAI83120240210COKBOMAI517202402
10P2800992&flightPrice=16003&sc=GALDOM&ref=2212230008591&sst=true&pid=44a42f87-
cbf3-43e5-b193-5e80ff49abb1&isHff=false&isSR=false&variation=0&newUi=false' \
--header 'emailId: b2bproduct@yatra.com' \
--header 'password: b2brfs@123' \
--header 'apiKey: 631c3e5e-22e4-410a-8438-d50327f41a08' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'pricingId=ff187da4-8257-419a-91a2-c891611f0a29' \
--data-urlencode 'superPnr=0902240026597' \
--data-urlencode 'reviewJson={"globalParams":{"pricingId":"ff187da4-8257-419a-91a2-
c891611f0a29","searchId":"180dca89-8c6f-4911-b587-
0a9add3afdf8","superPnr":"0902240026597","channel":"b2b","product":"flight","url":"
https://secure.yatra.com/checkout-ui/b2bdomapi/price?searchId=180dca89-8c6f-4911-
b587-0a9add3afdf8' \
--data-urlencode 'msid=180dca89-8c6f-4911-b587-0a9add3afdf8' \
--data-urlencode 'mode=Instant' \
--data-urlencode 'bpc=true' \
--data-urlencode 'flightIdCSV=DELCOKAI83120240210COKBOMAI51720240210P2800992' \
--data-urlencode 'flightPrice=' \
--data-urlencode 'sc=GALDOM' \
--data-urlencode 'ref=0902240026597' \
--data-urlencode 'sst=true' \
--data-urlencode 'pid=44a42f87-cbf3-43e5-b193-5e80ff49abb1' \
--data-urlencode 'isHff=false' \
--data-urlencode 'isSR=false' \
--data-urlencode 'variation=0' \
--data-urlencode
'newUi=false","ftype":"O","org":"DEL","dest":"BOM","changeFlightUrl":"https://
flight.yatra.com/air-search-ui/b2bdomapi/trigger?type=O' \
--data-urlencode 'viewName=normal' \
--data-urlencode 'flexi=0' \
--data-urlencode 'noOfSegments=1' \
--data-urlencode 'origin=DEL' \
--data-urlencode 'originCountry=IN' \
--data-urlencode 'destination=GOI' \
--data-urlencode 'destinationCountry=IN' \
--data-urlencode 'flight_depart_date=10/02/2024' \
--data-urlencode 'ADT=1' \
--data-urlencode 'CHD=0' \
--data-urlencode 'INF=0' \
--data-urlencode 'class=Economy' \
--data-urlencode 'unique=1707454289908' \
--data-urlencode
'newUi=false","isPartial":false,"ebs_accountId":"1026","ebs_sessionId":"c97353cbe96
92e18e9b1e78c190f0e0","rurl":"https://secure.yatra.com/checkout-ui/b2bdom/
confirmation","moProfileType":"CASH","childTenant":"b2bdomapi","variation":1},"addO
nParams":[],"hotelCrossSellParams":
{"isHotelCrosssellBooking":false,"hotelBookingRequestJSON":""},"productParams":
{"tripType":"O","amountDisp":"16003","displayMarkup":"0"},"promoParams":
{"status":false,"promoCode":"","isReadonly":false,"amount":0,"ecashAmount":0,"promo
Type":"","msg":"","authCode":"","category":"","seat":false,"meal":false,"disableYlp
":false,"disableDiscountDisplay":false,"dpsTestNo":0},"userParams":
{"additionalContact":
{"email":"b2bproduct@yatra.com","mobile":"9818278417","mobileISD":91,"interactionId
":""},"emailId":"b2bproduct@yatra.com","mobileNo":"9818278417","userId":"363411","t
itle":"","firstName":"Rashid","lastName":"khan","mobileNoISD":"91"},"travellerParam
s":[{"travellerDetails":
{"id":"","title":"Mr","firstName":"TESTS","middleName":"","lastName":"TEST","paxCla
ss":"Adult","passengerClass":"ADT","dateOfBirth":"","passport":
{"nationality":"","number":"","issuingCountryCode":"","issuingCountryName":"","expi
ryDate":""},"frequentFlyer":{}},"paxID":1,"ssrDetails":{"ssrMealDetails":
[],"ssrBaggageDetails":[],"ssrSeatDetails":
[[{"rph":"1","uid":"1","seatValue":"11B","price":150,"isdata":true,"pax":"0","trip"
:"O","arrloc":"GOI","deploc":"DEL"}]],"ssrOtherDetails":[]}}],"gstDetails":
{},"discountParams":{},"totalBreakup":{"meals":
{"amount":0,"label":"Meals"},"baggage":{"amount":0,"label":"Baggage"},"seats":
{"amount":150,"label":"Seats"},"others":
{"amount":0,"label":"OthersCharges"},"insurance":
{"amount":0,"label":"TravelInsurance"},"save.child":
{"amount":0,"label":"TAKEOFFContribution"},"CLIMES":
{"amount":0,"label":"CarbonEmission"},"SDFC":
{"amount":0,"label":"SameDayCancellationProtection"},"DFC":
{"amount":0,"label":"CancellationProtection"},"BBG":
{"amount":0,"label":"BestbuyAssurance"},"beingHuman":
{"amount":0,"label":"BeingHumanContribution"},"matrix":
{"amount":0,"label":"MATRIXCallingCard"},"SBICallingCard":
{"amount":0,"label":"SBICallingCard"},"markup":
{"amount":0,"label":"Markup"}},"advancedPricing":{},"upSellParams":[],"gaResponse":
{"data":[{"id":"1807230051626","name":"DOMFlights","category":"DOMFlights/Economy/
Afternoon/1/DEL-
GOI","brand":"Airindia","variant":"OneWay","price":"9577"}],"action":"event","actio
nData":"checkout","actionObj":{"step":1,"option":"PayNow:CreditCard-
Quickbook"},"event":"Flights-Payment-DOM|CurrentSelection|PayNow"},"uiParams":
{"gaTrackingData":
{"event":"checkout","tripType":"OneWay","lob":"Flight","ecommerce":{"checkout":
{"actionField":{"step":2,"option":"PaymentDetail"},"products":[{"name":"DEL|
GOI","id":"DELCOKAI83120240210COKBOMAI51720240210P2800992","price":16003,"brand":"A
irindia","category":"domestic","variant":"0Stop","quantity":1}]}}}}}'

You might also like