2017-09-01 84 views
0

为什么Sabre在此请求中找不到?SABRE Bargain Finder Max API

地址:https://api.havail.sabre.com/v3.2.0/shop/flights?mode=live&limit=50&offset=1&enabletagging=true

这里是要求:

{ 
    "OTA_AirLowFareSearchRQ": { 
     "Target": "Production", 
     "OriginDestinationInformation": [{ 
      "DepartureDateTime": "2017-10-04T00:00:00", 
      "DestinationLocation": { 
       "LocationCode": "JFK" 
      }, 
      "OriginLocation": { 
       "LocationCode": "LAX" 
      }, 
      "RPH": "1" 
     }, { 
      "DepartureDateTime": "2017-10-10T00:00:00", 
      "DestinationLocation": { 
       "LocationCode": "LAX" 
      }, 
      "OriginLocation": { 
       "LocationCode": "JFK" 
      }, 
      "RPH": "2" 
     }], 
     "POS": { 
      "Source": [{ 
       "PseudoCityCode": "4OMI", 
       "RequestorID": { 
        "CompanyName": { 
         "Code": "TN" 
        }, 
        "ID": "REQ.ID", 
        "Type": "1" 
       } 
      }] 
     }, 
     "TPA_Extensions": { 
      "IntelliSellTransaction": { 
       "RequestType": { 
        "Name": "50ITINS" 
       } 
      } 
     }, 
     "TravelPreferences": { 
      "ValidInterlineTicket": true, 
      "CabinPref": [{ 
       "Cabin": "Y", 
       "PreferLevel": "Preferred" 
      }], 
      "TPA_Extensions": { 
       "TripType": { 
        "Value": "Return" 
       } 
      } 
     }, 
     "TravelerInfoSummary": { 
      "SpecificPTC_Indicator": false, 
      "SeatsRequested": [1], 
      "AirTravelerAvail": [{ 
       "PassengerTypeQuantity": [{ 
        "Quantity": 1, 
        "Code": "ADT", 
        "Changeable": false 
       }] 
      }] 
     } 
    } 
} 

从API接收的响应总是相同的,如下:

{ 
    "status": "Complete", 
    "reportingSystem": "RAF", 
    "timeStamp": "2017-09-01T21:00:14+00:00", 
    "type": "Application", 
    "errorCode": "WARN.RAF.APPLICATION", 
    "instance": "raf-darhlp012-9080", 
    "message": "{\"OTA_AirLowFareSearchRS\":{\"PricedItinCount\":0,\"BrandedOneWayItinCount\":0,\"SimpleOneWayItinCount\":0,\"DepartedItinCount\":0,\"SoldOutItinCount\":0,\"AvailableItinCount\":0,\"Version\":\"3.2.0\",\"Errors\":{\"Error\":[{\"Type\":\"WORKERTHREAD\",\"ShortText\":\"4666151528036279040\",\"Code\":\"TRANSACTIONID\",\"MessageClass\":\"I\",\"content\":\"\"},{\"Type\":\"SERVER\",\"ShortText\":\"27033\",\"Code\":\"TTFHLP689\",\"MessageClass\":\"I\",\"content\":\"\"},{\"Type\":\"DEFAULT\",\"ShortText\":\"17500\",\"Code\":\"RULEID\",\"MessageClass\":\"I\",\"content\":\"\"},{\"Type\":\"SERVER\",\"Code\":\"MSG\",\"MessageClass\":\"I\",\"content\":\"No Availability\"},{\"Type\":\"ERR\",\"ShortText\":\"No Availability\",\"Code\":\"NAV\",\"content\":\"\"}]}},\"Links\":[{\"rel\":\"self\",\"href\":\""},{\"rel\":\"linkTemplate\",\"href\":\""},{\"rel\":\"tagLookupLinkTemplate\",\"href\":\},{\"rel\":\"paginatedRequestLinkTemplate\",\"href\":\}]}" 
} 

随着不同的日期和行程,响应总是一样的。

回答

1

您的用户可能无法使用此服务。

+0

但是,在与SABRE联系时,saller表示凭证与CERT环境相同。那就对了? –

+0

谢谢,那是对的。销售区域错了。 SABRE的支持人员今天证实,用户对于使用此服务不积极。 –