PNR 中的 Sabre 更新名称:错误 = .ENTRY 仅对订阅者 PNR 有效

Posted

技术标签:

【中文标题】PNR 中的 Sabre 更新名称:错误 = .ENTRY 仅对订阅者 PNR 有效【英文标题】:Saber Update name in PNR : Error = .ENTRY VALID ONLY FOR SUBSCRIBER PNR 【发布时间】:2017-05-23 09:36:18 【问题描述】:

UpdateReservationRQ APi 可以正常更新 PNR 中的乘客姓名。 突然返回错误

<stl15:Warnings>
            <stl15:Warning>
               <stl15:Message>PARTIAL ERROR</stl15:Message>
            </stl15:Warning>
         </stl15:Warnings>
         <stl15:Errors>
            <stl15:Error UpdateId="ID-1">
               <stl15:Code>500900</stl15:Code>
               <stl15:Message>.ENTRY VALID ONLY FOR SUBSCRIBER PNR</stl15:Message>
            </stl15:Error>
         </stl15:Errors> 

我按照步骤更新 PNR 中的姓名 1. 创建会话 - SessionCreateRQ 2. 订票 - EnhancedAirBookRQ 3. 创建 PNR -PassengerDetailsRQ 4. 阅读行程 - TravelItineraryReadRQ 4. 更新 PNR - UpdateReservationRQ 以下是 UpdateReservationRQ API 的请求

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:eb="http://www.ebxml.org/namespaces/messageHeader" xmlns:ns1="http://webservices.sabre.com/pnrbuilder/getres" xmlns:ns12="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns13="http://www.w3.org/1999/xlink" xmlns:ns14="http://www.w3.org/2000/09/xmldsig#" xmlns:or="http://services.sabre.com/res/or/v1_8" xmlns:ota="http://webservices.sabre.com/sabreXML/2003/07" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:stl1="http://webservices.sabre.com/pnrbuilder/v1_15" xmlns:stl2="http://services.sabre.com/STL/v01" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/12/secext" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xml="http://www.w3.org/XML/1998/namespace">
    <SOAP-ENV:Header>
        <sec:Security xmlns:sec="http://schemas.xmlsoap.org/ws/2002/12/secext">
         <sec:BinarySecurityToken valueType="String" EncodingType="sec:Base64Binary">$#Project#sectoken</sec:BinarySecurityToken>
       </sec:Security>
        <MessageHeader xmlns="http://www.ebxml.org/namespaces/messageHeader" version="1.0">
            <eb:From>
                <eb:PartyId type="urn:x12.org:IO5:01">99935345999</eb:PartyId>
            </eb:From>
            <eb:To>
                <eb:PartyId type="urn:x12.org:IO5:01">344535</eb:PartyId>
            </eb:To>
            <eb:CPAId>AB</eb:CPAId>
            <eb:ConversationId>cpm23432</eb:ConversationId>
            <eb:Service type="OTA">UpdateReservationOperation</eb:Service>
            <eb:Action>UpdateReservationRQ</eb:Action>
            <eb:MessageData>
                <eb:MessageId>608926</eb:MessageId>
                <eb:Timestamp>2017-05-22T15:49:07Z</eb:Timestamp>
            </eb:MessageData>
        </MessageHeader>
    </SOAP-ENV:Header>
    <SOAP-ENV:Body>
        <stl1:UpdateReservationRQ xmlns="http://webservices.sabre.com/pnrbuilder/v1_15" Version="1.15.0">
            <stl1:RequestType>Stateless</stl1:RequestType>
            <stl1:ReturnOptions IncludeUpdateDetails="true" RetrievePNR="true" />
            <stl1:ReservationUpdateList>
                <stl1:Locator>XPKCGL</stl1:Locator>
                <stl1:CreateDate>2017-05-23</stl1:CreateDate>
                <stl1:ReservationUpdateItem UpdateId="ID-1">
                    <stl1:PassengerNameUpdate op="U">
                        <stl1:TravelerName type="ADT" referenceId="1">
                            <stl1:Given>RamRaj</stl1:Given>
                            <stl1:Surname>Des</stl1:Surname>
                        </stl1:TravelerName>
                        <stl1:NameAssociationTag>
                            <stl1:LastName>DESHMUKH</stl1:LastName>
                            <stl1:FirstName>PRAVEEN</stl1:FirstName>
                            <stl1:NameRefNumber>01.01</stl1:NameRefNumber>
                        </stl1:NameAssociationTag>
                    </stl1:PassengerNameUpdate>
                </stl1:ReservationUpdateItem>
                <stl1:ReceivedFrom>
                    <stl1:AgentName>CPM MBE</stl1:AgentName>
                </stl1:ReceivedFrom>
            </stl1:ReservationUpdateList>
        </stl1:UpdateReservationRQ>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

感谢您提出任何建议以识别请求或流程中的问题。

【问题讨论】:

【参考方案1】:

来自格式查找器(参考 pnrfo044):

如电子客票尚未出票,请参考承运人姓名变更限制表。 在记录中签发电子客票后,一些承运人可能允许更改名称,但其他承运人不允许。请参考 特定验证承运人姓名的电子客票资料 更改限制。

您可能需要与运营商确认是否允许这样做。

【讨论】:

以上是关于PNR 中的 Sabre 更新名称:错误 = .ENTRY 仅对订阅者 PNR 有效的主要内容,如果未能解决你的问题,请参考以下文章

如何通过 sabre api 删除 pnr?

错误:在 Sabre 发送 CreatePassengerNameRecordRS 请求时出现 ERR.SP.BUSINESS_ERROR

sabre deal rest api中的offerItemId

Sabre 无会话身份验证

创建 Pnr 乘客详细信息 RQ 无法正常工作

用于检查铁路 PNR 状态和火车查询的 iPhone 应用程序 [关闭]