{"action":"created","issue":{"url":"https://api.github.com/repos/Travelport/travelport-uapi-tutorial/issues/23","labels_url":"https://api.github.com/repos/Travelport/travelport-uapi-tutorial/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/Travelport/travelport-uapi-tutorial/issues/23/comments","events_url":"https://api.github.com/repos/Travelport/travelport-uapi-tutorial/issues/23/events","html_url":"https://github.com/Travelport/travelport-uapi-tutorial/issues/23","id":117054425,"number":23,"title":"Server.InvalidRequestException [Error] : - bAirCreateReservationReq","user":{"login":"ratheepan","id":10045229,"avatar_url":"https://avatars.githubusercontent.com/u/10045229?v=3","gravatar_id":"","url":"https://api.github.com/users/ratheepan","html_url":"https://github.com/ratheepan","followers_url":"https://api.github.com/users/ratheepan/followers","following_url":"https://api.github.com/users/ratheepan/following{/other_user}","gists_url":"https://api.github.com/users/ratheepan/gists{/gist_id}","starred_url":"https://api.github.com/users/ratheepan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ratheepan/subscriptions","organizations_url":"https://api.github.com/users/ratheepan/orgs","repos_url":"https://api.github.com/users/ratheepan/repos","events_url":"https://api.github.com/users/ratheepan/events{/privacy}","received_events_url":"https://api.github.com/users/ratheepan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-16T05:31:39Z","updated_at":"2015-11-17T06:54:59Z","closed_at":null,"body":"Hello Sir,\r\n\r\nI'm trying to send reservation request  as 'AirCreateReservationReq ',  \r\ni could not get any  success response.  it is returning following errors.\r\n\r\nWhen i send  \"AirCreateReservationReq\"  request,  return following errors\r\n\r\n\r\n<soap:envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\r\n      <soap:body>\r\n         <soap:fault>\r\n            <faultcode>Server.InvalidRequestException</faultcode>\r\n            <faultstring>[Error] :21:79: cvc-complex-type.2.4.a: Invalid content was found starting with element 'AirPricingSolution'. One of '{\"http://www.travelport.com/schema/common_v33_0\":FormOfPayment, \"http://www.travelport.com/schema/common_v33_0\":SupplierLocator, \"http://www.travelport.com/schema/common_v33_0\":ThirdPartyInformation, \"http://www.travelport.com/schema/common_v33_0\":PointOfSale, \"http://www.travelport.com/schema/air_v33_0\":AirPricingSolution}' is expected.</faultstring>          \r\n<detail>\r\n<errorinfo xmlns=\"http://www.travelport.com/schema/common_v33_0\">\r\n<code>1000</code>\r\n<service>WEBSVC</service>\r\n<type>Data</type>\r\n<description>Validation failed on request message.</description>\r\n<transactionid>FFCA2B880A076477BB9FFFDC746DAC4E</transactionid>\r\n<auxdata>\r\n<entry>\r\n<reason>\r\nLastElement</reason>\r\n<description>FormOfPayment com=http://www.travelport.com/schema/common_v33_0</description>\r\n</entry>\r\n</auxdata>\r\n</errorinfo></detail>\r\n</soap:fault>\r\n      </soap:body>\r\n   </soap:envelope>\r\n\r\nThis is the request format i am using\r\nhttps://support.travelport.com/webhelp/uapi/Content/SampleWeb/SampleFiles/024-03_1G_AirBook_Rq.xml\r\n\r\nCould you p-lease help me?\r\n\r\n\r\n\r\nThanks in advance\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Travelport/travelport-uapi-tutorial/issues/comments/157289463","html_url":"https://github.com/Travelport/travelport-uapi-tutorial/issues/23#issuecomment-157289463","issue_url":"https://api.github.com/repos/Travelport/travelport-uapi-tutorial/issues/23","id":157289463,"user":{"login":"ratheepan","id":10045229,"avatar_url":"https://avatars.githubusercontent.com/u/10045229?v=3","gravatar_id":"","url":"https://api.github.com/users/ratheepan","html_url":"https://github.com/ratheepan","followers_url":"https://api.github.com/users/ratheepan/followers","following_url":"https://api.github.com/users/ratheepan/following{/other_user}","gists_url":"https://api.github.com/users/ratheepan/gists{/gist_id}","starred_url":"https://api.github.com/users/ratheepan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ratheepan/subscriptions","organizations_url":"https://api.github.com/users/ratheepan/orgs","repos_url":"https://api.github.com/users/ratheepan/repos","events_url":"https://api.github.com/users/ratheepan/events{/privacy}","received_events_url":"https://api.github.com/users/ratheepan/received_events","type":"User","site_admin":false},"created_at":"2015-11-17T06:54:59Z","updated_at":"2015-11-17T06:54:59Z","body":"H\r\n\r\n    <s:Envelope xmlns:s=\"http://schemas.xmlsoap.org/soap/envelope/\">\r\n            <s:Header/>\r\n            <s:Body xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\">\r\n            <univ:AirCreateReservationReq xmlns:air=\"http://www.travelport.com/schema/air_v33_0\" xmlns:common_v33_0=\"http://www.travelport.com/schema/common_v33_0\" xmlns:univ=\"http://www.travelport.com/schema/universal_v33_0\" AuthorizedBy=\"user\" RetainReservation=\"Both\" TargetBranch=\"'.$Hemas_TravelNote_travelportbranch.'\" TraceId=\"trace\">\r\nxmlns:common_v33_0=\"http://www.travelport.com/schema/common_v33_0\" xmlns:univ=\"http://www.travelport.com/schema/universal_v33_0\" AuthorizedBy=\"user\" RetainReservation=\"Both\" TargetBranch=\"TRGT_BRCH\" TraceId=\"trace\">\r\n    <com:BillingPointOfSaleInfo xmlns:com=\"http://www.travelport.com/schema/common_v33_0\" OriginApplication=\"UAPI\"/>\r\n    <com:BookingTraveler xmlns:com=\"http://www.travelport.com/schema/common_v33_0\" DOB=\"1957-05-12\" Gender=\"M\" Key=\"gr8AVWGCR064r57Jt0+8bA==\" TravelerType=\"ADT\">\r\n    <com:BookingTravelerName First=\"Frederick\" Last=\"Heinrich\" Prefix=\"Herr\"/>\r\n    <com:DeliveryInfo>\r\n    <com:ShippingAddress>\r\n    <com:AddressName>Residence</com:AddressName>\r\n    <com:Street>Rossmarkt 6</com:Street>\r\n<com:City>Frankfurt</com:City>\r\n<com:State>Hesse</com:State>\r\n<com:PostalCode>60311</com:PostalCode>\r\n<com:Country>DE</com:Country>\r\n</com:ShippingAddress>\r\n</com:DeliveryInfo>\r\n<com:PhoneNumber AreaCode=\"49\" CountryCode=\"069\" Location=\"FRA\" Number=\"261111111\"/>\r\n<com:Email EmailID=\"test@travelport.com\" Type=\"Home\"/>\r\n<com:SSR Carrier=\"LH\" FreeText=\"P/DE/F1234567/DE/12May57/M/29May15/Heinrich/Frederick\" SegmentRef=\"HLIszWWKSfyrDYOBqgCKSg==\" Status=\"HK\" Type=\"DOCS\"/>\r\n<com:Address>\r\n<com:AddressName>Residence</com:AddressName>\r\n<com:Street>Rossmarkt 6</com:Street>\r\n<com:City>Frankfurt</com:City>\r\n<com:State>Hesse</com:State>\r\n<com:PostalCode>60311</com:PostalCode>\r\n<com:Country>DE</com:Country>\r\n</com:Address>\r\n</com:BookingTraveler>\r\n<com:FormOfPayment xmlns:com=\"http://www.travelport.com/schema/common_v33_0\" Key=\"jwt2mcK1Qp27I2xfpcCtAw==\" Type=\"Cash\"/>\r\n<AirPricingSolution ApproximateBasePrice=\"CAD154.40\" ApproximateTaxes=\"CAD146.59\" ApproximateTotalPrice=\"CAD300.99\" BasePrice=\"EUR112.00\" EquivalentBasePrice=\"AUD162.00\" Key=\"6iUnEoz9T/6svaAvdgseUA==\" QuoteDate=\"2015-06-24\" Taxes=\"AUD153.80\" TotalPrice=\"AUD315.80\">\r\n<AirSegment ArrivalTime=\"2015-12-03T17:40:00.000+02:00\" AvailabilityDisplayType=\"Fare Specific Fare Quote Unbooked\" AvailabilitySource=\"S\" Carrier=\"LH\" ChangeOfPlane=\"false\" ClassOfService=\"S\" DepartureTime=\"2015-12-03T15:40:00.000+02:00\" Destination=\"BCN\" Distance=\"681\" Equipment=\"321\" FlightNumber=\"1814\" FlightTime=\"120\" Group=\"0\" Key=\"HLIszWWKSfyrDYOBqgCKSg==\" LinkAvailability=\"true\" OptionalServicesIndicator=\"true\" Origin=\"MUC\" ParticipantLevel=\"Secure Sell\" PolledAvailabilityOption=\"O and D cache or polled status used with different local status\" ProviderCode=\"1G\" TravelTime=\"120\">\r\n<FlightDetails DepartureTime=\"2015-12-03T15:40:00.000+02:00\" Destination=\"BCN\" DestinationTerminal=\"1\" Equipment=\"321\" FlightTime=\"120\" Key=\"50cnn08uQkKIisvw8TKEQw==\" Origin=\"MUC\" OriginTerminal=\"2\" TravelTime=\"120\">\r\n<Meals>SnackOrBrunch</Meals>\r\n<InFlightServices>Non-smoking</InFlightServices>\r\n</FlightDetails>\r\n</AirSegment>\r\n<AirSegment ArrivalTime=\"2015-12-08T17:35:00.000+02:00\" AvailabilityDisplayType=\"Fare Specific Fare Quote Unbooked\" AvailabilitySource=\"S\" Carrier=\"LH\" ChangeOfPlane=\"false\" ClassOfService=\"S\" DepartureTime=\"2015-12-08T15:35:00.000+02:00\" Destination=\"MUC\" Distance=\"681\" Equipment=\"320\" FlightNumber=\"1813\" FlightTime=\"120\" Group=\"1\" Key=\"h7YwfnNBTtK3NkC7o7aAhg==\" LinkAvailability=\"true\" OptionalServicesIndicator=\"true\" Origin=\"BCN\" ParticipantLevel=\"Secure Sell\" PolledAvailabilityOption=\"O and D cache or polled status used with different local status\" ProviderCode=\"1G\" TravelTime=\"120\">\r\n<FlightDetails DepartureTime=\"2015-12-08T15:35:00.000+02:00\" Destination=\"MUC\" DestinationTerminal=\"2\" Equipment=\"320\" FlightTime=\"120\" Key=\"NDwXkMuWQYeJ4l1Ne36iog==\" Origin=\"BCN\" OriginTerminal=\"1\" TravelTime=\"120\">\r\n<Meals>SnackOrBrunch</Meals>\r\n<InFlightServices>Non-smoking</InFlightServices>\r\n</FlightDetails>\r\n</AirSegment>\r\n<AirPricingInfo ApproximateBasePrice=\"CAD154.40\" ApproximateTaxes=\"CAD146.59\" ApproximateTotalPrice=\"CAD300.99\" BasePrice=\"EUR112.00\" ETicketability=\"Yes\" EquivalentBasePrice=\"AUD162.00\" IncludesVAT=\"false\" Key=\"p/dWhtYORgavKoNGB2IBSg==\" LatestTicketingTime=\"2015-06-27T23:59:00.000-04:00\" PlatingCarrier=\"LH\" PricingMethod=\"Guaranteed\" ProviderCode=\"1G\" Taxes=\"AUD153.80\" TotalPrice=\"AUD315.80\">\r\n<FareInfo Amount=\"AUD81.00\" DepartureDate=\"2015-12-03\" Destination=\"BCN\" EffectiveDate=\"2015-06-24T07:22:00.000-04:00\" FareBasis=\"SNC293D0\" Key=\"Dd6ILyOsQKmEPmkxceyTOQ==\" NotValidAfter=\"2015-12-03\" NotValidBefore=\"2015-12-03\" Origin=\"MUC\" PassengerTypeCode=\"ADT\">\r\n<common_v33_0:Endorsement Value=\"NONREF/FL/CHG RESTRICTED\"/>\r\n<common_v33_0:Endorsement Value=\"CHECK FARE NOTE\"/>\r\n<FareRuleKey FareInfoRef=\"Dd6ILyOsQKmEPmkxceyTOQ==\" ProviderCode=\"1G\">\r\n6UUVoSldxwiTzvKuh3LRlcbKj3F8T9EyxsqPcXxP0TIjSPOlaHfQe5cuasWd6i8Dly5qxZ3qLwOXLmrFneovA5cuasWd6i8Dly5qxZ3qLwOXLmrFneovAymgc+GY4PlyM3ExqSoG0523KcJwsul9giqk8QDoaXEvVCulqMwbpNasTsU9/OBUcmahdasaB1mwe9HUnaoAieUGTsrsm82zKhll6FxyIC6cYuAWfcH2w92IEQfz1U0L744ZXK+KyTZ9oyg65grGcdzvWpSmZkrE0eCbZ1nsUQQB0g5Ybj+sBYIZ4pHOg3uNkIq+cJFUBzrily5qxZ3qLwOXLmrFneovA5cuasWd6i8Dly5qxZ3qLwOXLmrFneovA3N5jV9Rrzq8txHW6jzw2UbAQJCzzE4cyR6sUSpvy0PFIXBIsV5cKLsDtEijjBmZfoRo6kyTmqIl\r\n</FareRuleKey>\r\n<Brand BrandFound=\"false\" Key=\"4D9/uTVJSnmTu4CWGvLhXA==\" UpSellBrandFound=\"false\"/>\r\n</FareInfo>\r\n<FareInfo Amount=\"AUD81.00\" DepartureDate=\"2015-12-08\" Destination=\"MUC\" EffectiveDate=\"2015-06-24T07:22:00.000-04:00\" FareBasis=\"SNC293D0\" Key=\"q/chEVIlS/+WJnFeNmVReQ==\" NotValidAfter=\"2015-12-08\" NotValidBefore=\"2015-12-08\" Origin=\"BCN\" PassengerTypeCode=\"ADT\">\r\n<common_v33_0:Endorsement Value=\"NONREF/FL/CHG RESTRICTED\"/>\r\n<common_v33_0:Endorsement Value=\"CHECK FARE NOTE\"/>\r\n<FareRuleKey FareInfoRef=\"q/chEVIlS/+WJnFeNmVReQ==\" ProviderCode=\"1G\">\r\n6UUVoSldxwiTzvKuh3LRlcbKj3F8T9EyxsqPcXxP0TIjSPOlaHfQe5cuasWd6i8Dly5qxZ3qLwOXLmrFneovA5cuasWd6i8Dly5qxZ3qLwOXLmrFneovAymgc+GY4PlyM3ExqSoG0509O1ynWRitFGcSYtccU+rpffAIozri2ACsTsU9/OBUcmahdasaB1mwe9HUnaoAieVHUxkM7n/tlBll6FxyIC6cYuAWfcH2w92IEQfz1U0L744ZXK+KyTZ9oyg65grGcdzqkp0FEw0raOCbZ1nsUQQBMPdGA9BJ2uAZ4pHOg3uNkIq+cJFUBzrily5qxZ3qLwOXLmrFneovA5cuasWd6i8Dly5qxZ3qLwOXLmrFneovA3N5jV9Rrzq8txHW6jzw2UbAQJCzzE4cyR6sUSpvy0PFIXBIsV5cKLsDtEijjBmZfoRo6kyTmqIl\r\n</FareRuleKey>\r\n<Brand BrandFound=\"false\" Key=\"c2xsoXMSRFCGkBRjkSQPUw==\" UpSellBrandFound=\"false\"/>\r\n</FareInfo>\r\n<BookingInfo BookingCode=\"S\" CabinClass=\"Economy\" FareInfoRef=\"Dd6ILyOsQKmEPmkxceyTOQ==\" SegmentRef=\"HLIszWWKSfyrDYOBqgCKSg==\"/>\r\n<BookingInfo BookingCode=\"S\" CabinClass=\"Economy\" FareInfoRef=\"q/chEVIlS/+WJnFeNmVReQ==\" SegmentRef=\"h7YwfnNBTtK3NkC7o7aAhg==\"/>\r\n<TaxInfo Amount=\"AUD8.40\" Category=\"DE\" Key=\"A8x4RqkWQZuPpCe0X5cpdw==\"/>\r\n<TaxInfo Amount=\"AUD10.80\" Category=\"OY\" Key=\"eCBGG04jQIqHFwp97j7igg==\"/>\r\n<TaxInfo Amount=\"AUD28.20\" Category=\"RA\" Key=\"7PlJLqeOR8q2/sFQS24Cig==\"/>\r\n<TaxInfo Amount=\"AUD22.20\" Category=\"JD\" Key=\"h0muV+ZKSNmAlGrnHqeyQQ==\"/>\r\n<TaxInfo Amount=\"AUD0.90\" Category=\"OG\" Key=\"U4dNxGBGSvSQoICmd8vBFA==\"/>\r\n<TaxInfo Amount=\"AUD5.50\" Category=\"QV\" Key=\"4zqzdxSaRzaSAbP34HuNqA==\"/>\r\n<TaxInfo Amount=\"AUD77.80\" Category=\"YQ\" Key=\"UqpfCeA9TmqZQsilMIpaTw==\"/>\r\n<FareCalc>\r\nMUC LH BCN 61.31SNC293D0 LH MUC 61.31SNC293D0 NUC122.62END ROE0.913391\r\n</FareCalc>\r\n<PassengerType Code=\"ADT\"/>\r\n<ChangePenalty>\r\n<Amount>AUD93.00</Amount>\r\n</ChangePenalty>\r\n<BaggageAllowances>\r\n<BaggageAllowanceInfo Carrier=\"LH\" Destination=\"BCN\" Origin=\"MUC\" TravelerType=\"ADT\">\r\n<URLInfo>\r\n<URL>MYTRIPANDMORE.COM/BAGGAGEDETAILSLH.BAGG</URL>\r\n</URLInfo>\r\n<TextInfo>\r\n<Text>1P</Text>\r\n<Text>\r\nBAGGAGE DISCOUNTS MAY APPLY BASED ON FREQUENT FLYER STATUS/ ONLINE CHECKIN/FORM OF PAYMENT/MILITARY/ETC.\r\n</Text>\r\n</TextInfo>\r\n<BagDetails ApplicableBags=\"1stChecked\" ApproximateBasePrice=\"CAD0.00\" ApproximateTotalPrice=\"CAD0.00\" BasePrice=\"EUR0.00\" TotalPrice=\"EUR0.00\">\r\n<BaggageRestriction>\r\n<TextInfo>\r\n<Text>UPTO50LB/23KG AND UPTO62LI/158LCM</Text>\r\n</TextInfo>\r\n</BaggageRestriction>\r\n</BagDetails>\r\n<BagDetails ApplicableBags=\"2ndChecked\" ApproximateBasePrice=\"CAD102.70\" ApproximateTotalPrice=\"CAD102.70\" BasePrice=\"EUR75.00\" TotalPrice=\"EUR75.00\">\r\n<BaggageRestriction>\r\n<TextInfo>\r\n<Text>UPTO50LB/23KG AND UPTO62LI/158LCM</Text>\r\n</TextInfo>\r\n</BaggageRestriction>\r\n</BagDetails>\r\n</BaggageAllowanceInfo>\r\n<BaggageAllowanceInfo Carrier=\"LH\" Destination=\"MUC\" Origin=\"BCN\" TravelerType=\"ADT\">\r\n<URLInfo>\r\n<URL>MYTRIPANDMORE.COM/BAGGAGEDETAILSLH.BAGG</URL>\r\n</URLInfo>\r\n<TextInfo>\r\n<Text>1P</Text>\r\n<Text>\r\nBAGGAGE DISCOUNTS MAY APPLY BASED ON FREQUENT FLYER STATUS/ ONLINE CHECKIN/FORM OF PAYMENT/MILITARY/ETC.\r\n</Text>\r\n</TextInfo>\r\n<BagDetails ApplicableBags=\"1stChecked\" ApproximateBasePrice=\"CAD0.00\" ApproximateTotalPrice=\"CAD0.00\" BasePrice=\"EUR0.00\" TotalPrice=\"EUR0.00\">\r\n<BaggageRestriction>\r\n<TextInfo>\r\n<Text>UPTO50LB/23KG AND UPTO62LI/158LCM</Text>\r\n</TextInfo>\r\n</BaggageRestriction>\r\n</BagDetails>\r\n<BagDetails ApplicableBags=\"2ndChecked\" ApproximateBasePrice=\"CAD102.70\" ApproximateTotalPrice=\"CAD102.70\" BasePrice=\"EUR75.00\" TotalPrice=\"EUR75.00\">\r\n<BaggageRestriction>\r\n<TextInfo>\r\n<Text>UPTO50LB/23KG AND UPTO62LI/158LCM</Text>\r\n</TextInfo>\r\n</BaggageRestriction>\r\n</BagDetails>\r\n</BaggageAllowanceInfo>\r\n<CarryOnAllowanceInfo Carrier=\"LH\" Destination=\"BCN\" Origin=\"MUC\">\r\n<TextInfo>\r\n<Text>1P</Text>\r\n</TextInfo>\r\n<CarryOnDetails ApplicableCarryOnBags=\"1\" ApproximateBasePrice=\"CAD0.00\" ApproximateTotalPrice=\"CAD0.00\" BasePrice=\"EUR0.00\" TotalPrice=\"EUR0.00\">\r\n<BaggageRestriction>\r\n<TextInfo>\r\n<Text>UPTO18LB/8KG AND UPTO46LI/118LCM</Text>\r\n</TextInfo>\r\n</BaggageRestriction>\r\n</CarryOnDetails>\r\n<CarryOnDetails ApplicableCarryOnBags=\"2\" ApproximateBasePrice=\"CAD0.00\" ApproximateTotalPrice=\"CAD0.00\" BasePrice=\"EUR0.00\" TotalPrice=\"EUR0.00\">\r\n<BaggageRestriction>\r\n<TextInfo>\r\n<Text>CARRY ON PERSONAL ITEMS</Text>\r\n</TextInfo>\r\n</BaggageRestriction>\r\n</CarryOnDetails>\r\n</CarryOnAllowanceInfo>\r\n<CarryOnAllowanceInfo Carrier=\"LH\" Destination=\"MUC\" Origin=\"BCN\">\r\n<TextInfo>\r\n<Text>1P</Text>\r\n</TextInfo>\r\n<CarryOnDetails ApplicableCarryOnBags=\"1\" ApproximateBasePrice=\"CAD0.00\" ApproximateTotalPrice=\"CAD0.00\" BasePrice=\"EUR0.00\" TotalPrice=\"EUR0.00\">\r\n<BaggageRestriction>\r\n<TextInfo>\r\n<Text>UPTO18LB/8KG AND UPTO46LI/118LCM</Text>\r\n</TextInfo>\r\n</BaggageRestriction>\r\n</CarryOnDetails>\r\n<CarryOnDetails ApplicableCarryOnBags=\"2\" ApproximateBasePrice=\"CAD0.00\" ApproximateTotalPrice=\"CAD0.00\" BasePrice=\"EUR0.00\" TotalPrice=\"EUR0.00\">\r\n<BaggageRestriction>\r\n<TextInfo>\r\n<Text>CARRY ON PERSONAL ITEMS</Text>\r\n</TextInfo>\r\n</BaggageRestriction>\r\n</CarryOnDetails>\r\n</CarryOnAllowanceInfo>\r\n</BaggageAllowances>\r\n</AirPricingInfo>\r\n</AirPricingSolution>\r\n<com:ActionStatus xmlns:com=\"http://www.travelport.com/schema/common_v33_0\" ProviderCode=\"1G\" TicketDate=\"2015-06-25T16:53:23\" Type=\"TAW\"/>\r\n</univ:AirCreateReservationReq>\r\n            </s:Body>\r\n            </s:Envelope>\r\n"}}