This API should call the Booking APIs of the provider and return PNR and Ticket Number.
• Accepts booking parameters and calls Provider API for Flight Booking
• Booking status at WebConnect end will be failed if connector does not return a PNR.
• Ticketing status at WebConnect end will be failed if connector does not return ticket number.
• Any Currency Conversions need not be handled, WebConnect will handle it.
• Should NOT call provider booking API when “EnableForceBookingFail” is “true” in request.
Field Name Description Sample conversationid Conversation ID "186196|SB|2|6001|1 Piece(s) ( 20KG each )", CurrencyCode Currency Code "OMR", SID Schema Identifier "FARES", FromSector Departure Airport Code "JED", ToSector Arrival Airport Code "LHE", Utl UTL 5122730, Upl UPL 425, OnwardJourneyDate Onward Journey Date "9/8/2023", ReturnJourneyDate Return Journey Date "9/8/2023", NumberOfAdults Number of Adults 1, NumberOfChild Number of Children 0, NumberOfInfants Number of Infants 0, SpecificCriteria null, SearchType Search Type "O", NetAmount Net Amount 40.452, GrossAmount Gross Amount 40.452, CustomerAmount Customer Amount 40.452, CouponAmount Coupon Amount 0, TransactionID TransactionID 478, BookingToken Booking Token 0, ForceFailBookingStatus false, AirlineBalanceDue Airline Balance Due 0, FareType Fare Type "N", TripType Trip Type null, JournyType Journey Type null, PrivateFareEnabled Whether Private Fare is enabled false, BranchCode null, AccountCode Account Code null, SSRAmount SSR Amount 0.000, OnwardSSRAmount Onward SSR Amount 0.000, ReturnSSRAmount Return SSR Amount 0.000, PreferredAirline Preferred Airline "PF", ItineraryType Itinerary Type null, BookingType Booking Type "NM", InitiateBooking false, FLTIntReservationReqFlights. FLTIntReservationReqOnwardFlights ChannelCode Channel Code "PF" IsCorporateFare Whether Corporate Fare RowNumber 1 NoOfStops Number of Stops 0 OfferText "" ConversationID Conversation ID "186196|SB|2|6001|1 Piece(s) ( 20KG each )" SecurityToken "" PrivateFarePCCType null AirlineBalanceDue Airline Balance Due 0 InitiateBooking FLTIntReservationReqConnectionPoints FLTIntReservationReqFlightDetails FUID FUID 1, SectorID Sector ID 1, ValidatingAirLineCode Validating Airline Code "PF", MarketingAirLineCode Marketing Airline Code "PF", OperatingAirLineCode Operating Airline Code "PF", FareBasisCode Fare Basis Code "Standard", InfantFareBasisCode Infant Fare Basis Code "", AdultFareID Adult Fare ID 0, ChildFareID Child Fare ID 0, InfantFareID Infant Fare ID 0, FlightNo Flight Number "714", ArrivalDateTime Arrival Date Time "9/8/2023 8 DepartureDateTime Departure Date Time "9/8/2023 6 ArrivalAirportCode Arrival Airport Code "LHE", DepartureAirportCode Departure Airport Code "JED", ArrivalTerminal Arrival Terminal "", DepartureTerminal Departure Terminal "", AirEquipType Air Equipment Type "", BookingClass Booking Class "", CabinClass Cabin Class "E", Refundable Whether the fare is Refundable "Y", AvailableSeats Number of Seats Available 0, ChangeOfGuage Change of Gurage false, RPH RPH "", FlightId Flight ID "", OriginalCurrencyCode null, JourneyDuration Journey Duration "", MultiCityRefID 0, CRSPNR CRS PNR null, JourneySellKey null FLTIntReservationReqFareDetails AdultFare Adult Base Fare 29.158 ChildFare Child Base Fare 0 InfantFare Infant Base Fare 0 AdultTax Adult Tax 11.294 ChildTax Child Tax 0 InfantTax Infant Tax 0 Identifier "" BookingFeeCode "" BookingFeeAmount 0 PrivateFareAmount 0 FLTIntReservationReqPaxSectorDetails SectorID Sector ID 1 PaxID Pax ID 1 PaxSectorID Pax Sector ID 1 PrivateFareAmount 29.158 FLTIntReservationReqPassengers PassengerID Passenger ID 1 PaxID Pax ID 1 Title Title "MR" FirstName First Name "RENJITH" LastName Last Name "RAJEEV" Age Age 31 DOB Date of Birth "1992/06/15" Gender Gender "M" PassportNo Passport Number "dg6546546" EmigCheck Emigration Check null PassportDOI Passport Date of Issue "0001-01-01T00 0 00" PassportDOE Passport Date of Expiry "2024-03-05T18 44 36" PassportPLI Passport Place of Issue null FFNumber Frequent Flier Number null SSRequested null MLRequested null TourCode null Type Passenger Type Code "A" Adult – “A” Child – “C” Infant – “I” Nationality Nationality "IN" IdType Document ID Type "P" Passport – “P” Iquama – “I” NationalID – “N” VisaType Visa Type null VisaDesc Visa Description null FLTIntReservationReqContactDetails FirstName First Name "Robin" LastName Last Name "Admin" MobileNo Mobile Number "1234123412" PhoneNo Phone Number "1234123412" EmailID Email ID test@test.com" Address Address "AkbarTravels Online" Country Country "IN" State State "Dubai" City City "Dubai" Pincode PIN Code "25772" Title Title null GSTHolderName GST Holder Name null GSTRegdEmail GST Registered Email null GSTPartyState GST Party State null GSTCustomerTIN GST Customer TIN null GSTRegdPhoneNumber GST Registered Phone Number null GSTRegdAddress GST Registered Address null FLTBookingSSRDetails PassengerID Passenger ID 1 FLTPaxID Flight PAX ID 0 FUID FUID 1 FLTSectorID Fllight Sector ID 0 SSRType SSR Type "2" SSRCode SSR Code "BAG" SSRCharge SSR Charge 0 SSRDesc SSR Description "1 Pc" SSRCategory SSR Category ""
Sample Payload{ "AdditionalInfo": [], "FLTIntReservationReqFlights": { "FLTIntReservationReqOnwardFlights": [ { "FLTIntReservationReqConnectionPoints": [ { "FLTIntReservationReqFlightDetails": { "MiscellaneousData": { "Items": [] }, "FUID": 1, "SectorID": 1, "ValidatingAirLineCode": "PF", "MarketingAirLineCode": "PF", "OperatingAirLineCode": "PF", "FareBasisCode": "Standard", "InfantFareBasisCode": "", "AdultFareID": 0, "ChildFareID": 0, "InfantFareID": 0, "FlightNo": "714", "ArrivalDateTime": "9/8/2023 8:00:00 AM", "DepartureDateTime": "9/8/2023 6:00:00 AM", "ArrivalAirportCode": "LHE", "DepartureAirportCode": "JED", "ArrivalTerminal": "", "DepartureTerminal": "", "AirEquipType": "", "BookingClass": "", "CabinClass": "E", "Refundable": "Y", "AvailableSeats": 0, "ChangeOfGuage": false, "RPH": "", "FlightId": "", "OriginalCurrencyCode": null, "JourneyDuration": "", "MultiCityRefID": 0, "CRSPNR": null, "JourneySellKey": null }, "FLTIntReservationReqFareDetails": { "FLTIntTaxSplitUP": [], "FLTIntOrginalCurrencyTaxSplitUP": [], "AdultFare": 29.158, "ChildFare": 0.000, "InfantFare": 0.000, "AdultTax": 11.294, "ChildTax": 0.000, "InfantTax": 0.000, "Identifier": "", "BookingFeeCode": "", "BookingFeeAmount": 0, "PrivateFareAmount": 0 }, "FLTIntReservationReqPaxSectorDetails": [ { "SectorID": 1, "PaxID": 1, "PaxSectorID": 1, "PrivateFareAmount": 29.158 } ], "FLTIntReservationReqOrginalCurrencyPaxSectorDetails": [] } ], "ChannelCode": "PF", "IsCorporateFare": false, "RowNumber": 1, "NoOfStops": 0, "OfferText": "", "ConversationID": "186196|SB|2|6001|1 Piece(s) ( 20KG each )", "SecurityToken": "", "PrivateFarePCCType": null, "AirlineBalanceDue": 0.000, "InitiateBooking": false } ], "FLTIntReservationReqReturnFlights": [] }, "FLTIntReservationReqPassengers": [ { "PassengerID": 1, "PaxID": 1, "Title": "MR", "FirstName": "RENJITH", "LastName": "RAJEEV", "Age": 31, "DOB": "1992/06/15", "Gender": "M", "PassportNo": "dg6546546", "EmigCheck": null, "PassportDOI": "0001-01-01T00:00:00", "PassportDOE": "2024-03-05T18:44:36", "PassportPLI": null, "FFNumber": null, "SSRequested": null, "MLRequested": null, "TourCode": null, "Type": "A", "Nationality": "IN", "IdType": "P", "VisaType": null, "VisaDesc": null } ], "FLTIntReservationReqContactDetails": { "FirstName": "Robin", "LastName": "Admin", "MobileNo": "971552454411", "PhoneNo": "04844136000", "EmailID": "dulfi@benzyinfotech.com", "Address": "AkbarTravels Online", "Country": "IN", "State": "Dubai", "City": "Dubai", "Pincode": "25772", "Title": null, "GSTHolderName": null, "GSTRegdEmail": null, "GSTPartyState": null, "GSTCustomerTIN": null, "GSTRegdPhoneNumber": null, "GSTRegdAddress": null }, "FLTBookingSSRDetails": [ { "PassengerID": 1, "FLTPaxID": 0, "FUID": 1, "FLTSectorID": 0, "SSRType": "2", "SSRCode": "BAG", "SSRCharge": 0.00, "SSRDesc": "1 Pc", "SSRCategory": "" } ], "FLTBookingReqOrginalCurrencySSRDetails": [], "conversationid": "186196|SB|2|6001|1 Piece(s) ( 20KG each )", "CurrencyCode": "OMR", "SID": "FARES", "FromSector": "JED", "ToSector": "LHE", "Utl": 5122730, "Upl": 425, "OnwardJourneyDate": "9/8/2023", "ReturnJourneyDate": "9/8/2023", "NumberOfAdults": 1, "NumberOfChild": 0, "NumberOfInfants": 0, "SpecificCriteria": null, "SearchType": "O", "NetAmount": 40.452, "GrossAmount": 40.452, "CustomerAmount": 40.452, "CouponAmount": 0, "TransactionID": 478, "BookingToken": 0, "ForceFailBookingStatus": false, "AirlineBalanceDue": 0, "FareType": "N", "TripType": null, "JournyType": null, "PrivateFareEnabled": false, "BranchCode": null, "AccountCode": null, "SSRAmount": 0.000, "OnwardSSRAmount": 0.000, "ReturnSSRAmount": 0.000, "PreferredAirline": "PF", "ItineraryType": null, "BookingType": "NM", "InitiateBooking": false, "Parameters": { "AUI": "222", "Utl": "5122730", "Upl": "425", "TUI": "425", "Hosting": "GCC", "Region": "OM", "WORKFLOW": "FLTBOOKINTNRM", "HomeCurrencyCode": "OMR", "EnableForceBookingFail": "false", "UserName": "akbartravelksa", "Password": "34A5S82ia8L" } }
Field Name Description Sample TransactionID Transaction ID 0 FromSector From Sector "JED" ToSector To Sector "LHE" FrequentFlyers Frequent Flyers "" OnwardJourneyDate Onward Journey Date "9/8/2023" ReturnJourneyDate Return Journey Date "9/8/2023" NumberOfAdults Number of Adults 1 NumberOfChild Number of Children 0 NumberOfInfants Number of Infants 0 NetAmount Net Amount 40.452 CustomerAmount Customer Amount 40.452 SearchType Search Type "O" GrossAmount Gross Amount 40.452 CurrencyCode Currency Code "" BookingToken Booking Token 0 SID SID "FARES" BookingType Booking Type "" FLTIntReservationResFlights. FLTIntReservationResOnwardFlights OrginalCurrencyCode "SAR" ChannelCode Channel Code "PF" ConversationID Conversation ID "186196|SB|2|6001|1 Piece(s) ( 20KG each )" SecurityToken "" PrivateFarePCCType "" FLTIntReservationResConnectionPoints CRSPNR CRS PNR "2SF65Q" AirlinePNR Airline PNR "2SF65Q" ValidatingAirLineCode Validating Airline Code "PF" MarketingAirLineCode Marketing Airline Code "PF" OperatingAirLineCode Operating Airline Code "PF" FlightNo Flight Number "714" ArrivalDateTime Arrival Date Time "9/8/2023 8 0 00 AM" DepartureDateTime Departure Time "9/8/2023 6 0 00 AM" ArrivalAirportCode Arrival Airport Code "LHE" DepartureAirportCode Departure Airport Code "JED" ArrivalTerminal Arrival Terminal "" DepartureTerminal Departure Terminal "" CabinClass Cabin Class "E" FlightId Flight ID "" AvailSeatCount Available Seat Count "0" FLTIntReservationResPassengers PassengerID Passenger ID 1 TicketNumber Ticket Number "6734000071505" SectorID Sector ID 1 PaxID Pax ID 1 TransactionDetails ResponseCount 0 ResponseStatus true – Some error/issue in the response false false – Successful response ResponseCode 200 – Success "" Any other value – There is some error/issue in response ResponseMessage Response Message "" ResponseEnquiry ""
Sample Payload{ "TransactionID": 0, "FromSector": "JED", "ToSector": "LHE", "FrequentFlyers": "", "OnwardJourneyDate": "9/8/2023", "ReturnJourneyDate": "9/8/2023", "NumberOfAdults": 1, "NumberOfChild": 0, "NumberOfInfants": 0, "NetAmount": 40.452, "CustomerAmount": 40.452, "SearchType": "O", "GrossAmount": 40.452, "CurrencyCode": "", "BookingToken": 0, "SID": "FARES", "BookingType": "", "AdditionalInfo": [ { "Name": "", "Value": "" } ], "FLTIntReservationResFlights": { "FLTIntReservationResOnwardFlights": [ { "OrginalCurrencyCode": "SAR", "ChannelCode": "PF", "ConversationID": "186196|SB|2|6001|1 Piece(s) ( 20KG each )", "SecurityToken": "", "PrivateFarePCCType": "", "FLTIntReservationResConnectionPoints": [ { "CRSPNR": "2SF65Q", "AirlinePNR": "2SF65Q", "ValidatingAirLineCode": "PF", "MarketingAirLineCode": "PF", "OperatingAirLineCode": "PF", "FlightNo": "714", "ArrivalDateTime": "9/8/2023 8:00:00 AM", "DepartureDateTime": "9/8/2023 6:00:00 AM", "ArrivalAirportCode": "LHE", "DepartureAirportCode": "JED", "ArrivalTerminal": "", "DepartureTerminal": "", "CabinClass": "E", "FlightId": "", "AvailSeatCount": "0", "FLTIntReservationResPassengers": [ { "PassengerID": 1, "TicketNumber": "6734000071505", "SectorID": 1, "PaxID": 1, "PaxSectorID": 1 } ] } ] } ], "FLTIntReservationResReturnFlights": [] }, "Response": { "TransRemarks": "", "TransStatus": false, "TransCode": "", "ErrorCode": "", "ErrorMessage": [] } }
Copyright © 2015-2016 Benzy Infotech Pvt. Ltd. All rights reserved | Legal Notice