Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

General Air Service Error #222

Open
salmanelahi93 opened this issue May 6, 2021 · 1 comment
Open

General Air Service Error #222

salmanelahi93 opened this issue May 6, 2021 · 1 comment

Comments

@salmanelahi93
Copy link

salmanelahi93 commented May 6, 2021

Im receiving following exception while booking a flight.

General air service Error.

Please find the req xml below:

<AirCreateReservationReq xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" TargetBranch="PXXXXXX" RetainReservation="Both">
  <BillingPointOfSaleInfo OriginApplication="UAPI" xmlns="http://www.travelport.com/schema/common_v49_0" />
  <BookingTraveler Key="42201-5464346-4" TravelerType="ADT" DOB="2020-08-11" xmlns="http://www.travelport.com/schema/common_v49_0">
    <BookingTravelerName Prefix="Mr" First="SARFARAZ" Last="KHAN" />
    <PhoneNumber CountryCode="" Number="03432244666" />
    <Email EmailID="[email protected]" />
  </BookingTraveler>
  <AirPricingSolution xmlns="http://www.travelport.com/schema/air_v49_0">
    <AirSegment Key="qbIEfkkxnDKArHZ1tHAAAA==" Group="0" Carrier="EY" FlightNumber="222" Origin="KHI" Destination="AUH" DepartureTime="2022-01-13T05:05:00.000" ArrivalTime="2022-01-13T06:35:00.000" ClassOfService="E" />
    <AirSegment Key="qbIEfkkxnDKAtHZ1tHAAAA==" Group="0" Carrier="EY" FlightNumber="19" Origin="AUH" Destination="LHR" DepartureTime="2022-01-13T08:05:00.000" ArrivalTime="2022-01-13T12:00:00.000" ClassOfService="E" />
    <AirPricingInfo PricingMethod="Auto" PlatingCarrier="EY" Key="qbIEfkkxnDKAwHZ1tHAAAA==">
      <FareInfo EffectiveDate="2021-05-05T12:59:00.000+05:00" Destination="LHR" Origin="KHI" PassengerTypeCode="ADT" FareBasis="EV1PK" Key="qbIEfkkxnDKA2HZ1tHAAAA==" />
      <BookingInfo BookingCode="E" FareInfoRef="qbIEfkkxnDKA2HZ1tHAAAA==" />
      <BookingInfo BookingCode="E" FareInfoRef="qbIEfkkxnDKA2HZ1tHAAAA==" />
      <PassengerType Code="ADT" BookingTravelerRef="42201-5464346-4" />
    </AirPricingInfo>
  </AirPricingSolution>
  <ActionStatus Type="TAW" TicketDate="2021-05-05T13:01:04.553+05:00" ProviderCode="1G" xmlns="http://www.travelport.com/schema/common_v49_0" />
</AirCreateReservationReq> 
@RicOsiro
Copy link

RicOsiro commented Jun 8, 2021

hi,

many required data are not in the request. The AirPricingSolution are missing many attributes and other children elements, there are only one FareInfo.
Please, compare the AirPricingSolution on this request to AirPricingSolution of AirPrice response, it not necessary to be the same, but it is very similar and many attributes comes from AirPrice response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants