在 BFM 中获取 RouteHappy RichContent

Getting RouteHappy RichContent in BFM

在深入研究文档后,我发现了一个 Bargain Finder Max 请求的示例,该请求还请求了 RichContent(又名 RouteHappy 内容)。 按照这个例子,我明白我必须发送下面的代码,在 TPA_Extensions 里面也包含 IntelliSellTransaction:

<TPA_Extensions>
    <IntelliSellTransaction>
            <RequestType Name="SOME VALUE" />
    </IntelliSellTransaction>
    <RichContent FlightAmenities="true" />
    <MultiTicket DisplayPolicy="SOME VALUE" />
</TPA_Extensions>

考虑到这一点,当我发送请求时,我收到一条错误消息:Invalid content was found starting with element 'RichContent'.

完整的错误信息:

<Errors>
    <Error Type="SERVER" Code="gcc14-isell-tn-00-2021-10-02-5gp8.us-central1-c.c.sab-prod-offers-6532.internal" ShortText="80">
        TOMCAT
    </Error>
    <Error Type="ERR" Code="INVALIDREQ" ShortText="Schema Validation Failed">
        cvc-complex-type.2.4.a: Invalid content was found starting with element 'RichContent'. One of '{&quot;http://www.opentravel.org/OTA/2003/05&quot;:DiversityControl, &quot;http://www.opentravel.org/OTA/2003/05&quot;:MessagingDetails, &quot;http://www.opentravel.org/OTA/2003/05&quot;:AlternateAirportCities, &quot;http://www.opentravel.org/OTA/2003/05&quot;:AlternateAirportMileage, &quot;http://www.opentravel.org/OTA/2003/05&quot;:AwardShopping, &quot;http://www.opentravel.org/OTA/2003/05&quot;:Billing, &quot;http://www.opentravel.org/OTA/2003/05&quot;:ExchangeSettings, &quot;http://www.opentravel.org/OTA/2003/05&quot;:Exchange, &quot;http://www.opentravel.org/OTA/2003/05&quot;:PointsRedemption, &quot;http://www.opentravel.org/OTA/2003/05&quot;:SplitTaxes, &quot;http://www.opentravel.org/OTA/2003/05&quot;:AlternateDatesProcessing, &quot;http://www.opentravel.org/OTA/2003/05&quot;:ItineraryCache, &quot;http://www.opentravel.org/OTA/2003/05&quot;:MultiTicket, &quot;http://www.opentravel.org/OTA/2003/05&quot;:Partitions, &quot;http://www.opentravel.org/OTA/2003/05&quot;:ReservationData, &quot;http://www.opentravel.org/OTA/2003/05&quot;:AlternatePCC, &quot;http://www.opentravel.org/OTA/2003/05&quot;:ResponseControl, &quot;http://www.opentravel.org/OTA/2003/05&quot;:BestOffers}' is expected.
    </Error>
</Errors>

我渴望让 RouteHappy 内容发挥作用,因为它有助于提供更丰富的用户体验。 感谢您的帮助

答案是更新到BFM 6.3.0。这是它可用的版本。