SpecialServiceRQ:未找到有效的段-检查行程

时间:2019-01-27 18:09:08

标签: sabre

我正在为要为行程LON-NYC创建的PNR制作SpecialServiceRQ

<SpecialServiceRQ xmlns="http://webservices.sabre.com/sabreXML/2011/10" Version="2.0.2">
    <SpecialServiceInfo>
        <Service SSR_Code="INFT" SegmentNumber="1">
        <Text>GOMEZ/BEBE/23OCT18-1.1</Text>
        <VendorPrefs>
            <Airline Hosted="false"/>
        </VendorPrefs>
        </Service>
        <Service SSR_Code="INFT" SegmentNumber="2">
        <Text>GOMEZ/BEBE/23OCT18-1.1</Text>
        <VendorPrefs>
            <Airline Hosted="false"/>
        </VendorPrefs>
        </Service>
        <Service SSR_Code="FOID">
        <PersonName NameNumber="1.1"/>
        <Text>PPAAC385679</Text>
        <VendorPrefs>
            <Airline Hosted="false"/>
        </VendorPrefs>
        </Service>
        <Service SSR_Code="DOCO">
        <PersonName NameNumber="1.1"/>
        <Text>/K/12547</Text>
        <VendorPrefs>
            <Airline Hosted="false"/>
        </VendorPrefs>
        </Service>
        <Service SSR_Code="DOCS">
        <PersonName NameNumber="1.1"/>
        <Text>DB/01JUN77/M/GOMEZ/DIEGO</Text>
        <VendorPrefs>
            <Airline Hosted="false"/>
        </VendorPrefs>
        </Service>
        <Service SSR_Code="FOID">
        <PersonName NameNumber="2.1"/>
        <Text>PPAAC981274</Text>
        <VendorPrefs>
            <Airline Hosted="false"/>
        </VendorPrefs>
        </Service>
        <Service SSR_Code="DOCS">
        <PersonName NameNumber="2.1"/>
        <Text>DB/23NOV15/M/GOMEZ/NINO</Text>
        <VendorPrefs>
            <Airline Hosted="false"/>
        </VendorPrefs>
        </Service>
        <Service SSR_Code="DOCO">
        <PersonName NameNumber="1.1"/>
        <Text>/R/7876533////I</Text>
        <VendorPrefs>
            <Airline Hosted="false"/>
        </VendorPrefs>
        </Service>
        <Service SSR_Code="DOCS">
        <PersonName NameNumber="1.1"/>
        <Text>DB/23OCT18/FI/GOMEZ/BEBE</Text>
        <VendorPrefs>
            <Airline Hosted="false"/>
        </VendorPrefs>
        </Service>
    </SpecialServiceInfo>
</SpecialServiceRQ>

但我知道

<SpecialServiceRS xmlns="http://webservices.sabre.com/sabreXML/2011/10" Version="2.0.2" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:stl="http://services.sabre.com/STL/v01">
    <stl:ApplicationResults status="NotProcessed">
    <stl:Error type="BusinessLogic" timeStamp="2019-01-27T11:46:35-06:00">
    <stl:SystemSpecificResults>
        <stl:Message>.NO VALID SEGMENTS FOUND - CHECK ITINERARY.NOT ENT BGNG WITH</stl:Message>
        <stl:Message>3FOID/PPAAC385679-1.1</stl:Message>
        <stl:ShortText>ERR.SWS.HOST.ERROR_IN_RESPONSE</stl:ShortText>
    </stl:SystemSpecificResults>
    </stl:Error>
    </stl:ApplicationResults>
</SpecialServiceRS>

相同的请求适用于EZE-LIM之类的行程

我想念什么吗?行程涉及美国,因此我将包含名称,DOB和性别信息的de TSA安全飞行强制性DOCS,如我发送给Saber WS的请求所示

3 个答案:

答案 0 :(得分:0)

在模式SpecialServiceLLSRQ_v2.3.0中-我看到对于SSR文档,您需要使用“ AdvancePassenger”或“ SecureFlight”

请注意,无法再指定SSR_Code =“ DOC *”,请使用“ AdvancePassenger”或“ SecureFlight”发送文档​​SSR。

<SpecialServiceRQ Version="2.3.0">
    <SpecialServiceInfo>
        <!-- Optional -->
        <!-- Repeat Factor=0-99 -->
        <!-- "SegmentNumber" is used to specify an itinerary segment to associate the SSR to. -->
        <!-- "SSR_Code" is used to specify an SSR code. -->
        <!--
    Please note that it is no longer possible to specify SSR_Code="DOC*", please utilize either "AdvancePassenger" or "SecureFlight" to send document SSRs.
    -->
        <!-- If SSR_Code="OSI" @SegmentNumber cannot be utilized. -->
        <!-- Equivalent Sabre host command: 4WCHR2-3.1 -->
        <Service SegmentNumber="2" SSR_Code="WCHR">
            <!-- Optional, BUT some SSRCodes require a name number. -->
            <!-- Repeat Factor=0 -->
            <!-- "Number" is used to specify a passenger name number. -->
            <!-- Equivalent Sabre host command: 4WCHR2-3.1 -->
            <PersonName NameNumber="3.1" />
            <!-- Optional, BUT many SSRCodes RQs require text. -->
            <!-- Repeat Factor=0 -->
            <!-- "Text" is used to specify miscellaneous free text information. -->
            <!-- Equivalent Sabre host command: 3OSI YY TEST -->
            <Text>TEST</Text>
            <!-- Optional -->
            <!-- Repeat Factor=0 -->
            <VendorPrefs>
                <!-- Mandatory -->
                <!-- Repeat Factor=0 -->
                <!--
    "Code" is only applicable to the "OSI" SSRCode, and is used to specify the airline that the SSR needs to be sent to.
    -->
                <!-- "Hosted" is used to specify if the request is based upon a hosted or a non-hosted carrier. -->
                <!--
    For Travel Network-based customers "HostedCarrier" can be set to "false" unless the message is being sent to AA.
    -->
                <!--
    For SabreSonic RES-based customers "HostedCarrier" should be set to "true" when communicating internally, and omitted when sending to any other carrier.
    -->
                <!-- Hosted="false" example: 3WCHR2-3.1 -->
                <!-- Hosted"true" example: 4WCHR2-3.1 -->
                <!-- Code example: 3OSI YY TEST -->
                <Airline Code="YY" Hosted="true" />
            </VendorPrefs>
        </Service>
    </SpecialServiceInfo>
</SpecialServiceRQ>

答案 1 :(得分:0)

此外,在3FOID / PPAAC385679-1.1格式之后,将返回错误。这是否适用于您的行程?所有细分市场都需要FOID数据,而这些细分市场是机管局还是其他航空公司?

答案 2 :(得分:0)

我认为您的问题与TSA所需信息有关,这意味着您必须发送APIS

    APIS - ADVANCE PASSENGER INFORMATION SYSTEM
    When travelling to certain countries, the respective local government may request for the
    detailed information of the passenger. For example, the U.S. and Canadian Transportation
    Security Administration (TSA) requires all airlines to provide the passport information, Date of
    birth, VISA info, destination or residential addresses of all passengers travelling to the United
    States.
    Some airlines require passenger information like passport number as the form of identification at
    check-in.

用于发送多段护照文件的提前旅客信息(APIS)。

Send Advance Passenger Information (APIS) for passport document.
Equivalent Sabre host command: 3DOCSA/P/US/1234567890/US/02DEC1960/M/26MAY2029/SIMPSON/HOMER/JAY-1.1
<SpecialServiceRQ xmlns="http://webservices.sabre.com/sabreXML/2011/10" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Version="2.3.0">
    <SpecialServiceInfo>
        <AdvancePassenger SegmentNumber="A">
            <Document ExpirationDate="2029-05-26" Number="1234567890" Type="P">
                <IssueCountry>US</IssueCountry>
                <NationalityCountry>US</NationalityCountry>
            </Document>
            <PersonName DateOfBirth="1960-12-02" Gender="M" NameNumber="1.1">
                <GivenName>Homer</GivenName>
                <MiddleName>Jay</MiddleName>
                <Surname>Simpson</Surname>
            </PersonName>
            <VendorPrefs>
                <Airline Hosted="false"/>
            </VendorPrefs>
        </AdvancePassenger>
    </SpecialServiceInfo>
</SpecialServiceRQ>

要针对多个段发送护照文件的提前旅客信息(APIS),应在 SegmentNumber 属性中使用此格式

<AdvancePassenger SegmentNumber="1,2">