首页 > 解决方案 > Amadeus Fare_PricePnrWithBookingClass 的 OB 费用请求

问题描述

已经卡了很长时间,请任何人帮我发​​送 OB 费用(航空公司费用)和 Fare_PricePnrWithBookingClass 请求的金额。这是 XML 请求:

<Fare_PricePNRWithBookingClass xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://xml.amadeus.com/TPCBRQ_16_1_1A">
<pricingOptionGroup xmlns="http://xml.amadeus.com/TPCBRQ_16_1_1A">
<pricingOptionKey><pricingOptionKey>RW</pricingOptionKey>
</pricingOptionKey>
<optionDetail>
<criteriaDetails><attributeType>GOVSR123</attributeType>
</criteriaDetails>
</optionDetail></pricingOptionGroup><pricingOptionGroup xmlns="http://xml.amadeus.com/TPCBRQ_16_1_1A">
<pricingOptionKey>
<pricingOptionKey>FCO</pricingOptionKey>
</pricingOptionKey>
<currency>
<firstCurrencyDetails><currencyQualifier>FCO</currencyQualifier>
<currencyIsoCode>SAR</currencyIsoCode>
</firstCurrencyDetails>
</currency>
</pricingOptionGroup>
</Fare_PricePNRWithBookingClass>

非常感谢

标签: c#xmlrequestamadeus

解决方案


您可以尝试使用<pricingOptionKey>OBF</pricingOptionKey>包含或排除您的 OB 费用。

要使用 50 美元TST 1的额外 OB 费用子代码进行更新,OT1您可以尝试以下操作:


            <ns1:pricingOptionGroup>
                <ns1:pricingOptionKey>
                    <ns1:pricingOptionKey>OBF</ns1:pricingOptionKey>
                </ns1:pricingOptionKey>
                <ns1:penDisInformation>
                    <ns1:discountPenaltyQualifier>OBF</ns1:discountPenaltyQualifier>
                    <ns1:discountPenaltyDetails>
                        <ns1:function>INF</ns1:function>
                        <ns1:amountType>707</ns1:amountType>
                        <ns1:amount>50</ns1:amount>
                        <ns1:rate>OT1</ns1:rate>
                        <ns1:currency>USD</ns1:currency>
                    </ns1:discountPenaltyDetails>
                </ns1:penDisInformation>
                <ns1:paxSegTstReference>
                    <ns1:referenceDetails>
                        <ns1:type>P</ns1:type>
                        <ns1:value>1</ns1:value>
                    </ns1:referenceDetails>
                </ns1:paxSegTstReference>
            </ns1:pricingOptionGroup>

whereINF代表包含,707意味着您使用固定金额,paxSegTstReference用于引用 TST 记录。

希望能帮助到你。


推荐阅读