SABRE - 为特定品牌创建 PNR

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

我正在与 SABRE 创建 PNR Rest API 集成,现在我们处于实时环境中(进行冒烟测试)。

当我们创建 PNR 时,我们成功在 SABER 系统上看到它(黑屏),但创建的 PNR 并不代表所选航班。

例如,我在我们的门户网站上搜索时选择最便宜的航班,但在 SABRE 系统上显示创建的航班是最高(最贵)的航班。

我也在请求正文中添加了票价基础代码,但这并没有解决问题。

我们应该添加其他东西来解决这个问题吗?

以下是更多详细信息的请求正文:

    {
"CreatePassengerNameRecordRQ": {
    "version": "2.4.0",
    "targetCity": "targetCity-here",
    "TravelItineraryAddInfo": {
        "AgencyInfo": {
            "Ticketing": {
                "TicketType": "7TAW"
            }
        },
        "CustomerInfo": {
            "ContactNumbers": {
                "ContactNumber": [
                    {
                        "NameNumber": "1",
                        "Phone": "0799888889",
                        "PhoneUseType": "B"
                    }
                ]
            },
            "PersonName": [
                {
                    "NameNumber": "1",
                    "GivenName": "Husni",
                    "PassengerType": "ADT",
                    "Surname": "Zakarya"
                }
            ]
        }
    },
    "AirBook": {
        "OriginDestinationInformation": {
            "FlightSegment": [
                {
                    "ArrivalDateTime": "2024-03-14T12:55:00",
                    "DepartureDateTime": "2024-03-14T12:55:00",
                    "FlightNumber": "610",
                    "NumberInParty": "1",
                    "ResBookDesigCode": "Y",
                    "Status": "NN",
                    "DestinationLocation": {
                        "LocationCode": "DXB"
                    },
                    "OriginLocation": {
                        "LocationCode": "AMM"
                    },
                    "MarketingAirline": {
                        "Code": "RJ",
                        "FlightNumber": "610"
                    }
                },
                {
                    "ArrivalDateTime": "2024-03-21T16:15:00",
                    "DepartureDateTime": "2024-03-21T16:15:00",
                    "FlightNumber": "611",
                    "NumberInParty": "1",
                    "ResBookDesigCode": "Y",
                    "Status": "NN",
                    "DestinationLocation": {
                        "LocationCode": "AMM"
                    },
                    "OriginLocation": {
                        "LocationCode": "DXB"
                    },
                    "MarketingAirline": {
                        "Code": "RJ",
                        "FlightNumber": "611"
                    }
                }
            ]
        },
        "RedisplayReservation": {
            "NumAttempts": 10,
            "WaitInterval": 300
        }
    },
    "PostProcessing": {
        "EndTransaction": {
            "Source": {
                "ReceivedFrom": "11111111111111111"
            }
        }
    },
    "AirPrice": [
        {
            "PriceRequestInformation": {
                "Retain": true,
                "OptionalQualifiers": {
                    "FOP_Qualifiers": {
                        "BasicFOP": {
                            "Type": "CK"
                        }
                    },
                    "PricingQualifiers": {
                        "PassengerType": [
                            {
                                "Code": "ADT",
                                "Quantity": "1"
                            }
                        ],
                        "CommandPricing": [
                            {
                                "FareBasis": {
                                    "Code": "QANJOP"
                                }
                            }
                        ]
                    }
                }
            }
        }
    ],
    "SpecialReqDetails": {
        "SpecialService": {
            "SpecialServiceInfo": {
                "AdvancePassenger": [
                    {
                        "Document": {
                            "IssueCountry": "JO",
                            "ExpirationDate": "2026-10-20",
                            "Number": "P106022222",
                            "Type": "P"
                        },
                        "PersonName": {
                            "GivenName": "Husni",
                            "Surname": "Zakarya",
                            "DateOfBirth": "1975-05-02"
                        }
                    }
                ]
            }
        }
    }
}

}

rest sabre
1个回答
0
投票

发现问题,我在请求的“ResBookDesigCode”中发送了舱位而不是预订代码。

希望这可以帮助其他人。

© www.soinside.com 2019 - 2024. All rights reserved.