Remark : FaresIndicator=”AllFares” 추가시 에러
1 2 3 |
<air:AirPricingModifiers FaresIndicator="AllFares"/><!-- 추가 --> |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP:Body> <SOAP:Fault> <faultcode>Server.InvalidRequestException</faultcode> <faultstring>[Error] :81:55: cvc-complex-type.2.4.a: Invalid content was found starting with element 'air:ChangePenalty'. One of '{"http://www.travelport.com/schema/air_v50_0":TicketingModifiersRef, "http://www.travelport.com/schema/air_v50_0":AirSegmentPricingModifiers, "http://www.travelport.com/schema/air_v50_0":FlightOptionsList, "http://www.travelport.com/schema/air_v50_0":BaggageAllowances, "http://www.travelport.com/schema/air_v50_0":FareRulesFilter, "http://www.travelport.com/schema/air_v50_0":PolicyCodesList, "http://www.travelport.com/schema/air_v50_0":PriceChange, "http://www.travelport.com/schema/air_v50_0":ActionDetails, "http://www.travelport.com/schema/common_v50_0":Commission}' is expected.</faultstring> <detail> <ErrorInfo xmlns="http://www.travelport.com/schema/air_v50_0"> <Code>1000</Code> <Service>WEBSVC</Service> <Type>Data</Type> <Description>Validation failed on request message.</Description> <TransactionId>4D99F74C0A0D6A80D621380C956D5BCA</TransactionId> <Auxdata> <Entry> <Reason>LastElement</Reason> <Description>AirPricingModifiers PenaltyApplies=Anytime</Description> </Entry> </Auxdata> </ErrorInfo> </detail> </SOAP:Fault> </SOAP:Body> </SOAP:Envelope> |
해결 : 아래 air:CancelPenalty 아래 에 추가
1 2 3 4 5 6 7 8 |
<air:ChangePenalty PenaltyApplies="Anytime"> <air:Percentage>0.00</air:Percentage> </air:ChangePenalty> <air:CancelPenalty PenaltyApplies="Anytime"> <air:Percentage>0.00</air:Percentage> </air:CancelPenalty> |