【问题标题】:Sabre BargainFinderMax REST API error for /offers/shop for southwest airlines (IATA code: WN)西南航空公司的 /offers/shop 的 Sabre BargainFinderMax REST API 错误(IATA 代码:WN)
【发布时间】:2022-09-30 01:48:42
【问题描述】:

我们正在尝试为西南航空公司 (WN) 使用 BargainFinderMax REST API v3/offers/shop 和 /v4/offers/shop,但在 CERT 环境中出现以下请求错误

我们已经绑定了新旧域名端点(根据https://developer.sabre.com/guides/travel-agency/developer-guides/api-endpoints),但仍然抛出错误

New Endpoints:

https://api.cert.platform.sabre.com/v4/offers/shop

https://api.cert.platform.sabre.com/v3/offers/shop
Old Endpoints:

https://api-crt.cert.havail.sabre.com/v4/offers/shop

https://api-crt.cert.havail.sabre.com/v3/offers/shop

请求#1:

{
    \"OTA_AirLowFareSearchRQ\": {
        \"MaxResponses\": \"10\",
        \"OriginDestinationInformation\": [{
            \"RPH\": \"1\",
            \"DepartureDateTime\": \"2022-08-19T00:00:00\",
            \"OriginLocation\": {
                \"LocationCode\": \"SFO\"
            },
            \"DestinationLocation\": {
                \"LocationCode\": \"LAX\"
            },
            \"TPA_Extensions\": {
                \"SegmentType\": {
                    \"Code\": \"O\"
                }
            }
        }],
        \"POS\": {
            \"Source\": [{
                \"PseudoCityCode\": \"xxxx\",
                \"RequestorID\": {
                    \"CompanyName\": {
                        \"Code\": \"TN\"
                    },
                    \"ID\": \"xxx.xx\",
                    \"Type\": \"x.xxx.x\"
                }
            }]
        },
        \"TravelPreferences\": {
            \"MaxStopsQuantity\": 99,
            \"TPA_Extensions\": {
                \"DataSources\": {
                    \"ATPCO\": \"Enable\",
                    \"LCC\": \"Disable\",
                    \"NDC\": \"Disable\"
                },
                \"NumTrips\": {
                    \"Number\": 10
                }
            },
            \"VendorPref\": [{
                \"Code\": \"WN\"
            }]
        },
        \"TravelerInfoSummary\": {
            \"AirTravelerAvail\": [{
                \"PassengerTypeQuantity\": [{
                    \"Code\": \"ADT\",
                    \"Quantity\": 1
                }]
            }],
            \"PriceRequestInformation\": {
                \"TPA_Extensions\": {}
            },
            \"SeatsRequested\": [1]
        },
        \"TPA_Extensions\": {
            \"IntelliSellTransaction\": {
                \"RequestType\": {
                    \"Name\": \"xxxITINS\"
                }
            }
        },
        \"Version\": \"3\"
    }
}

请求#2:

{
    \"OTA_AirLowFareSearchRQ\": {
        \"MaxResponses\": \"10\",
        \"OriginDestinationInformation\": [{
            \"RPH\": \"1\",
            \"DepartureDateTime\": \"2022-08-20T00:00:00\",
            \"OriginLocation\": {
                \"LocationCode\": \"SFO\"
            },
            \"DestinationLocation\": {
                \"LocationCode\": \"LAX\"
            },
            \"TPA_Extensions\": {
                \"SegmentType\": {
                    \"Code\": \"O\"
                }
            }
        }],
        \"POS\": {
            \"Source\": [{
                \"PseudoCityCode\": \"xxxx\",
                \"RequestorID\": {
                    \"CompanyName\": {
                        \"Code\": \"TN\"
                    },
                    \"ID\": \"xx.xx\",
                    \"Type\": \"x.xxx.x\"
                }
            }]
        },
        \"TravelPreferences\": {
            \"MaxStopsQuantity\": 99,
            \"TPA_Extensions\": {
                \"DataSources\": {
                    \"ATPCO\": \"Enable\",
                    \"LCC\": \"Disable\",
                    \"NDC\": \"Disable\"
                },
                \"NumTrips\": {
                    \"Number\": 10
                }
            },
            \"VendorPref\": [{
                \"Code\": \"WN\"
            }]
        },
        \"TravelerInfoSummary\": {
            \"AirTravelerAvail\": [{
                \"PassengerTypeQuantity\": [{
                    \"Code\": \"ADT\",
                    \"Quantity\": 1
                }]
            }],
            \"PriceRequestInformation\": {
                \"TPA_Extensions\": {}
            },
            \"SeatsRequested\": [1]
        },
        \"TPA_Extensions\": {
            \"IntelliSellTransaction\": {
                \"RequestType\": {
                    \"Name\": \"xxxITINS\"
                }
            }
        },
        \"Version\": \"3\"
    }
}

回应#1:

{
    \"groupedItineraryResponse\": {
        \"version\": \"6.6.1\",
        \"messages\": [{
            \"severity\": \"Info\",
            \"type\": \"SERVER\",
            \"code\": \"ASE032LPSCIL672.ATSE.CERT.ASCINT.SABRECIRRUS.COM\",
            \"text\": \"27040\"
        }, {
            \"severity\": \"Info\",
            \"type\": \"WORKERTHREAD\",
            \"code\": \"TRANSACTIONID\",
            \"text\": \"3620995504794847122\"
        }, {
            \"severity\": \"Info\",
            \"type\": \"DRE\",
            \"code\": \"RULEID\",
            \"text\": \"13292\"
        }, {
            \"severity\": \"Info\",
            \"type\": \"DEFAULT\",
            \"code\": \"RULEID\",
            \"text\": \"25238\"
        }, {
            \"severity\": \"Info\",
            \"type\": \"SCHEDULES\",
            \"code\": \"MSG\",
            \"text\": \"NO FLIGHT SCHEDULES FOR QUALIFIERS USED\"
        }, {
            \"severity\": \"Error\",
            \"type\": \"IF2\",
            \"code\": \"PROCESS\",
            \"text\": \"No complete journey can be built in IF2/ADVJR1.\"
        }, {
            \"severity\": \"Error\",
            \"type\": \"ERR\",
            \"code\": \"ERR\",
            \"text\": \"Error during Processing\"
        }],
        \"statistics\": {
            \"itineraryCount\": 0
        }
    }
}

回应#2:

{
    \"groupedItineraryResponse\": {
        \"version\": \"6.3.0\",
        \"messages\": [{
            \"severity\": \"Info\",
            \"type\": \"SERVER\",
            \"code\": \"ASE032LPSCIL744.ATSE.CERT.ASCINT.SABRECIRRUS.COM\",
            \"text\": \"27035\"
        }, {
            \"severity\": \"Info\",
            \"type\": \"WORKERTHREAD\",
            \"code\": \"TRANSACTIONID\",
            \"text\": \"3623196258955057549\"
        }, {
            \"severity\": \"Info\",
            \"type\": \"DRE\",
            \"code\": \"RULEID\",
            \"text\": \"13292\"
        }, {
            \"severity\": \"Info\",
            \"type\": \"DEFAULT\",
            \"code\": \"RULEID\",
            \"text\": \"25238\"
        }, {
            \"severity\": \"Info\",
            \"type\": \"SCHEDULES\",
            \"code\": \"MSG\",
            \"text\": \"NO FLIGHT SCHEDULES FOR QUALIFIERS USED\"
        }, {
            \"severity\": \"Error\",
            \"type\": \"IF2\",
            \"code\": \"PROCESS\",
            \"text\": \"No complete journey can be built in IF2/ADVJR1.\"
        }, {
            \"severity\": \"Error\",
            \"type\": \"ERR\",
            \"code\": \"ERR\",
            \"text\": \"Error during Processing\"
        }],
        \"statistics\": {
            \"itineraryCount\": 0
        }
    }
}

此外,使用旧端点在 PROD 环境中使用 /v1/offers/shop/ 对此进行了测试,仍然看到相同的问题。

Endpoint: https://api.havail.sabre.com/v1/offers/shop, 

{
    \"groupedItineraryResponse\": {
        \"version\": \"5.2.0\",
        \"messages\": [{
            \"severity\": \"Info\",
            \"type\": \"SERVER\",
            \"code\": \"ASE032LPSPIL9BE.IDM.SGDCPROD.SABRE.COM\",
            \"text\": \"27041\"
        }, {
            \"severity\": \"Info\",
            \"type\": \"WORKERTHREAD\",
            \"code\": \"TRANSACTIONID\",
            \"text\": \"3629312323318444028\"
        }, {
            \"severity\": \"Info\",
            \"type\": \"DRE\",
            \"code\": \"RULEID\",
            \"text\": \"15943\"
        }, {
            \"severity\": \"Info\",
            \"type\": \"DEFAULT\",
            \"code\": \"RULEID\",
            \"text\": \"17500\"
        }, {
            \"severity\": \"Info\",
            \"type\": \"SCHEDULES\",
            \"code\": \"MSG\",
            \"text\": \"NO FLIGHT SCHEDULES FOR QUALIFIERS USED\"
        }, {
            \"severity\": \"Error\",
            \"type\": \"IF2\",
            \"code\": \"PROCESS\",
            \"text\": \"No complete journey can be built in IF2/ADVJR1.\"
        }, {
            \"severity\": \"Error\",
            \"type\": \"ERR\",
            \"code\": \"ERR\",
            \"text\": \"Error during Processing\"
        }],
        \"statistics\": {
            \"itineraryCount\": 0
        }
    }
}

相同的 API 调用适用于其他航空公司代码,如 Delta Airlines (\'DL\')、American Airlines (\'AA\')、United Airlines (\'UA\') 等。

任何人都可以分享有关为什么会发生这种情况以及我们如何解决这种行为的任何见解吗?

    标签: rest sabre


    【解决方案1】:

    此错误可能意味着此日期在 WN 上没有此航线的航班。 尝试检查 WN 网站并尝试不同的日期。

    【讨论】:

    • 是的,我查看了航空公司的网站,然后尝试了可用的不同日期、来源和目的地组合,但 Sabre BFM rest api 仍然抛出该错误。
    【解决方案2】:

    这是我们用来解决这个问题的方法

    为了让我们获得西南航空公司 (WN) 的内容,我们使用的 PCC 必须被列入白名单,西南航空公司 (WN) 通过使用实际的 ARC 号码将其列入白名单。我们有一个有效的 ARC 号码,并要求 Sabre 将其添加到 PCC,因为它已被西南航空列入白名单。 Sabre 进行更改后,PCC 可以使用 WN 内容,当我们点击 Sabre BFM REST API v4 时,我们可以看到列出了 WN 航班。

    仅供参考-https://developer.sabre.com/guides/travel-agency/concepts/glossary

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-07-01
      • 1970-01-01
      • 1970-01-01
      • 2018-09-14
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多