使用新的 v2 航班优惠端点 includedAirlineCodes 和 exlcludedAirlineCodes 不能一起使用吗?

With new v2 flight-offers endpoint includedAirlineCodes & exlcludedAirlineCodes cannot be used together?

在之前的版本中,V1,低价搜索,这两个参数都可以使用。这已经不可能了吗?这些参数:

{'adults': 1, 'children': 0, 'currencyCode': 'USD', 'departureDate': '2020-09-30', 'destinationLocationCode': 'FLL', 'excludedAirlineCodes': 'NK,B6', 'includedAirlineCodes': 'DL', 'infants': 0, 'nonStop': 'false', 'originLocationCode': 'MSP', 'returnDate': '2020-10-07', 'travelClass': 'ECONOMY'}

生成此错误:

{'errors': [{'status': 400, 'code': 2668, 'title': 'PARAMETER COMBINATION INVALID/RESTRICTED', 'detail': 'excludedAirlineCodes and includedAirlineCodes are not compatible'}]}

Flight Offers Search API (v2) 中,我们修复了一些让用户感到困惑的问题:如果您使用 includedAirlineCodes,您只能获得指定航空公司的航班(因此它排除了所有其他航空公司的航班)航空公司)。不能同时使用 includedAirlineCodesexcludedAirlineCodes