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

Error "One or more errors occurred. (*** INVALID FORMAT *** | *** INVALID FORMAT ***)" for AirCreateReservation #218

Open
saikat1989 opened this issue Mar 14, 2021 · 3 comments

Comments

@saikat1989
Copy link

I have got the error "One or more errors occurred. (*** INVALID FORMAT *** | *** INVALID FORMAT ***)" for AirCreateReservation.

Can you please check the request xml of AirCreateReservation?

I am not able to find what I am doing wrong.

User Id - Universal API/uAPI8968938106-bec96be5
Branch - P107484
Provider - 1P
<?xml version="1.0" encoding="utf-16"?> <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> <s:Header> <Action s:mustUnderstand="1" xmlns="http://schemas.microsoft.com/ws/2005/05/addressing/none">http://localhost:8080/kestrel/AirService </Action> </s:Header> <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <AirCreateReservationReq TargetBranch="P107484" ProviderCode="1P" RetainReservation="Both" xmlns="http://www.travelport.com/schema/universal_v43_0"> <BillingPointOfSaleInfo OriginApplication="UAPI" xmlns="http://www.travelport.com/schema/common_v43_0" /> <BookingTraveler Key="gr8AVWGCR064r57Jt0+8bA==" TravelerType="ADT" Age="28" Gender="M" Nationality="US" xmlns="http://www.travelport.com/schema/common_v43_0"> <BookingTravelerName Prefix="Mr" First="Jack" Last="Smith" /> <DeliveryInfo> <ShippingAddress Key="gr8AVWGCR064r57Jt0+8bA=="> <AddressName>Home</AddressName> <Street>2914 N. Dakota Avenue</Street> <City>Denver</City> <State>CO</State> <PostalCode>80206</PostalCode> <Country>US</Country> </ShippingAddress> </DeliveryInfo> <PhoneNumber Location="DEN" CountryCode="1" AreaCode="303" Number="3333333" /> <Email Type="Home" EmailID="[email protected]" /> <SSR SegmentRef="PoO8hgAqWDKADNKmAAAAAA==" Type="DOCS" Status="HK" FreeText="P/US/F1234567/US/13Mar93/M/13Mar23/Smith/Jack" Carrier="AI" /> <Address> <AddressName>Home</AddressName> <Street>2914 N. Dakota Avenue</Street> <City>Denver</City> <State>CO</State> <PostalCode>80206</PostalCode> <Country>US</Country> </Address> </BookingTraveler> <ContinuityCheckOverride Key="1T" xmlns="http://www.travelport.com/schema/common_v43_0">true </ContinuityCheckOverride> <FormOfPayment Type="Check" Key="jwt2mcK1Qp27I2xfpcCtAw==" xmlns="http://www.travelport.com/schema/common_v43_0"> <Check RoutingNumber="456" AccountNumber="7890" CheckNumber="1234567" /> </FormOfPayment> <AirPricingSolution Key="PoO8hgAqWDKAENKmAAAAAA==" TotalPrice="AUD79.30" BasePrice="INR3630" ApproximateTotalPrice="AUD79.30" ApproximateBasePrice="AUD65.00" Taxes="AUD14.30" ApproximateTaxes="AUD14.30" xmlns="http://www.travelport.com/schema/air_v43_0"> <AirSegment Key="PoO8hgAqWDKADNKmAAAAAA==" Equipment="32B" Group="0" Carrier="AI" FlightNumber="401" Origin="DEL" Destination="CCU" DepartureTime="2021-03-25T07:10:00.000+05:30" ArrivalTime="2021-03-25T09:35:00.000+05:30" ProviderCode="1P" ParticipantLevel="Secure Sell" /> <AirPricingInfo LatestTicketingTime="2021-03-25T23:59:00.000+11:00" PricingMethod="Auto" Key="PoO8hgAqWDKAGNKmAAAAAA==" TotalPrice="AUD79.30" BasePrice="INR3630" ApproximateTotalPrice="AUD79.30" ApproximateBasePrice="AUD65.00" Taxes="AUD14.30" ProviderCode="1P"> <FareInfo Amount="AUD65.00" EffectiveDate="2021-03-13T23:22:15.414+11:00" Destination="CCU" Origin="DEL" PassengerTypeCode="ADT" FareBasis="SIP" Key="PoO8hgAqWDKAMNKmAAAAAA=="> <FareRuleKey FareInfoRef="PoO8hgAqWDKAMNKmAAAAAA==" ProviderCode="1P">9qEuPoPcT/8SCV2Vx+zo8rEJfU+qBk6dznJgexD0EBEQUFz1xal2RiuSCURXa7X7En8Mg+HAuzKP5Rqw65fgFORsBfJKkIog</FareRuleKey> </FareInfo> <BookingInfo BookingCode="S" CabinClass="Economy" FareInfoRef="PoO8hgAqWDKAMNKmAAAAAA==" SegmentRef="PoO8hgAqWDKADNKmAAAAAA==" /> <TaxInfo Amount="AUD1.40" Category="IN" Key="PoO8hgAqWDKAHNKmAAAAAA==" /> <TaxInfo Amount="AUD3.40" Category="K3" Key="PoO8hgAqWDKAINKmAAAAAA==" /> <TaxInfo Amount="AUD3.40" Category="P2" Key="PoO8hgAqWDKAJNKmAAAAAA==" /> <TaxInfo Amount="AUD3.00" Category="WO" Key="PoO8hgAqWDKAKNKmAAAAAA==" /> <TaxInfo Amount="AUD3.10" Category="YR" Key="PoO8hgAqWDKALNKmAAAAAA==" /> <FareCalc>ADT DEL AI CCU Q300 3330INR3630END AI</FareCalc> <PassengerType Code="ADT" BookingTravelerRef="gr8AVWGCR064r57Jt0+8bA==" /> <ChangePenalty> <Amount>AUD53.00</Amount> </ChangePenalty> <AirPricingModifiers> <ManualFareAdjustment AppliedOn="Base" AdjustmentType="Amount" Value="40" PassengerRef="kOe6hg/pWDKAmXQlAAAAAA==" FareType="1P" /> </AirPricingModifiers> <BaggageAllowances> <BaggageAllowanceInfo Origin="DEL" Destination="CCU" Carrier="AI" TravelerType="ADT"> <URLInfo> <URL>VIEWTRIP.TRAVELPORT.COM/BAGGAGEPOLICY/AI</URL> </URLInfo> <TextInfo> <Text>25K</Text> <Text>BAGGAGE DISCOUNTS MAY APPLY BASED ON FREQUENT FLYER STATUS/ ONLINE CHECKIN/FORM OF PAYMENT/MILITARY/ETC.</Text> </TextInfo> <BagDetails ApplicableBags="1stChecked"> <BaggageRestriction> <TextInfo> <Text>CHGS MAY APPLY IF BAGS EXCEED TTL WT ALLOWANCE</Text> </TextInfo> </BaggageRestriction> </BagDetails> <BagDetails ApplicableBags="2ndChecked"> <BaggageRestriction> <TextInfo> <Text>CHGS MAY APPLY IF BAGS EXCEED TTL WT ALLOWANCE</Text> </TextInfo> </BaggageRestriction> </BagDetails> </BaggageAllowanceInfo> <CarryOnAllowanceInfo Origin="DEL" Destination="CCU" Carrier="AI" /> </BaggageAllowances> </AirPricingInfo> </AirPricingSolution> <ActionStatus Type="TAW" TicketDate="2021-03-25T23:59:00.000+11:00" ProviderCode="1P" xmlns="http://www.travelport.com/schema/common_v43_0" /> </AirCreateReservationReq> </s:Body> </s:Envelope>

@saikat1989
Copy link
Author

@vivekjyotipramanik Can you please help me on this?

@YousifALF
Copy link

whats ur passing parameter for AirCreateReservationRsp?

@RicOsiro
Copy link

hi,

the request is for creating a book, also it is modifying the Fare. This fare modifying needs to follow the business rules to avoid issues on agency internal process. Let ask you a question, are you developing a entire new system or maybe upgrading a previous system? If you are new, I recommend to start with standard flow first and use the recent schema version, also contact your sale representative to get more information about certification and system upgrading process.

The element ManualFareAdjustment could be removed for a test or change the value of FareType attribute to "EX".


Regards

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

3 participants