为什么Sabre没有在此请求中找回?
地址: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\":\}]}"
}
对于不同的日期和行程,响应始终相同。
答案 0 :(得分:1)
您的用户可能无法使用此服务。