如何在使用 Bargain Finder Max(BFM) Sabre API 搜索航班时获取处罚信息?

问题描述 投票:0回答:0

我正在尝试使用 Sabre 的 Bargain Finder Max v4.3.0 Rest API 搜索航班。我已成功收到回复,但我无法在回复数据中找到任何航班序列的任何处罚信息。我需要在 api 响应中返回航班顺序的任何罚款信息(退款/取消等)。

这是我的请求数据:

{
            "OTA_AirLowFareSearchRQ": {
              "ResponseType": "OTA",
              "ResponseVersion": "4.3.0",
              "SeparateMessages": true,
              "TruncateMessages": false,
              "Target": "Test",
              "Version": "4.1.0",
              "DirectFlightsOnly":true,
              "POS": {
                "Source": [
                  {
                    "PseudoCityCode": "F9CE",
                    "RequestorID": {
                      "Type": "1",
                      "ID": "1",
                      "CompanyName": {
                        "Code": "TN"
                      }
                    }
                  }
                ]
              },
              "TravelPreferences": {
                "MaxStopsQuantity": 4, 
                "TPA_Extensions": {
                  "TripType":{
                    "Value":"OneWay"
                  },
                  "XOFares":{
                    "Value":true
                  }
                },
                "CabinPref": [{
                  "Cabin": "Y",
                  "PreferLevel": "Preferred"
                }]
              },
              "TPA_Extensions": {
                "IntelliSellTransaction": {
                  "RequestType": {
                    "Name": "100ITINS"
                  }
                }
              },
              "OriginDestinationInformation": [
                {
                  "RPH": "1",
                  "DepartureDateTime": "2023-04-25T00:00:00",
                  "OriginLocation": {
                    "LocationCode": "JFK"
                  },
                  "DestinationLocation": {
                    "LocationCode": "LAS"
                  },
                  "TPA_Extensions":{
                    "SegmentType":{
                      "Code":"O"
                    },
                    "TotalTravelTime":{
                      "Max":2000
                    }
                  }
                }],
              "TravelerInfoSummary": {
                "PriceRequestInformation":{
                  "CurrencyCode":"USD"
                },
                "SeatsRequested": [1],
                "AirTravelerAvail": [
                  {
                    "PassengerTypeQuantity": [
                      {
                        "Code": "ADT",
                        "Quantity": 1
                      }]
                  }
                ]
              }
            }
          }
rest sabre sabredav
© www.soinside.com 2019 - 2024. All rights reserved.