UpdatePassengerNameRecord (XML)

 

API情報

当該機能は、一度のリクエストで既存のPNRへ旅程、旅客情報、SSR等を追加し、EOTまで実行可能なAPIです。
また、既存PNRが存在しない場合は、新規のPNRとして作成することも可能になっております。

Service Action Code :UpdatePassengerNameRecordRQ
最新バージョン :1.0.0
プロトコル :XML

更新履歴

UpdatePassengerNameRecordRQ v1.0.0 on November 24, 2020
  • Version1.0.0をリリースいたしました。
 

リクエストサンプル

 選択<UpdatePassengerNameRecordRQ xmlns="http://services.sabre.com/sp/updatereservation/v1" version="1.0.0" targetCity="8IC6" haltOnAirPriceError="true">
  <Itinerary id="BXNUWN" />
  <AirBook>
    <RetryRebook Option="true" />
    <OriginDestinationInformation>
      <FlightSegment DepartureDateTime="2020-03-31T06:25:00" FlightNumber="9704" NumberInParty="1" ResBookDesigCode="J" Status="NN">
        <DestinationLocation LocationCode="NRT" />
        <MarketingAirline Code="NH" FlightNumber="9704" />
        <OriginLocation LocationCode="SGN" />
      </FlightSegment>
    </OriginDestinationInformation>
    <RedisplayReservation NumAttempts="2" WaitInterval="5000" />
  </AirBook>
  <PostProcessing>
    <ARUNK />
    <EndTransaction>
      <Source ReceivedFrom="SP TEST" />
    </EndTransaction>
    <RedisplayReservation waitInterval="1000" />
  </PostProcessing>
</UpdatePassengerNameRecordRQ>

レスポンスサンプル

 選択
<UpdatePassengerNameRecordRS xmlns="http://services.sabre.com/sp/updatereservation/v1">
  <ApplicationResults xmlns="http://services.sabre.com/STL_Payload/v02_01" status="Complete">
    <Success timeStamp="2020-01-30T03:35:04.175-06:00" />
    <Warning type="BusinessLogic" timeStamp="2020-01-30T03:35:02.365-06:00">
      <SystemSpecificResults>
        <Message code="WARN.SWS.HOST.ERROR_IN_RESPONSE">CreatePassengerNameRecordRQ: NO ARNK INSERTED</Message>
      </SystemSpecificResults>
    </Warning>
  </ApplicationResults>
  <ItineraryRef ID="BXNUWN" />
  <AirBook>
    <OriginDestinationOption>
  <FlightSegment ArrivalDateTime="03-31T14:00" DepartureDateTime="03-31T06:05" FlightNumber="9704" NumberInParty="001" ResBookDesigCode="J" Status="NN" eTicket="true">
   <DestinationLocation LocationCode="NRT" />
   <MarketingAirline Code="NH" FlightNumber="9704" />
   <OriginLocation LocationCode="SGN" />
  </FlightSegment>
 </OriginDestinationOption>
  </AirBook>
  <TravelItineraryRead>
    <TravelItinerary>
      <CustomerInfo>
        <ContactNumbers>
          <ContactNumber LocationCode="TYO" Phone="1" RPH="001" Id="5" />
        </ContactNumbers>
        <PersonName WithInfant="false" NameNumber="01.01" PassengerType="ADT" RPH="1" elementId="pnr-6.1">
          <GivenName>TAROMR</GivenName>
          <Surname>INFINI</Surname>
        </PersonName>
      </CustomerInfo>
      <ItineraryInfo>
        <ReservationItems>
          <Item RPH="1">
            <FlightSegment AirMilesFlown="0718" ArrivalDateTime="03-30T14:15" DayOfWeekInd="1" DepartureDateTime="2020-03-30T12:00" SegmentBookedDate="2020-01-30T03:33:00" ElapsedTime="02.15" eTicket="true" FlightNumber="0233" NumberInParty="01" ResBookDesigCode="J" SegmentNumber="0001" SmokingAllowed="false" SpecialMeal="false" Status="HK" StopQuantity="00" IsPast="false" CodeShare="false" Id="3">
              <DestinationLocation LocationCode="SGN" Terminal="TERMINAL 1" TerminalCode="1" />
              <Equipment AirEquipType="321" />
              <MarketingAirline Code="VN" FlightNumber="0233" ResBookDesigCode="J">
                <Banner>MARKETED BY VIETNAM AIRLINES</Banner>
              </MarketingAirline>
              <Meal Code="L" />
              <OperatingAirline Code="VN" FlightNumber="0233" ResBookDesigCode="J">
                <Banner>OPERATED BY VIETNAM AIRLINES</Banner>
              </OperatingAirline>
              <OperatingAirlinePricing Code="VN" />
              <DisclosureCarrier Code="VN" DOT="false">
                <Banner>VIETNAM AIRLINES</Banner>
              </DisclosureCarrier>
              <OriginLocation LocationCode="HAN" Terminal="TERMINAL 1" TerminalCode="1" />
              <SupplierRef ID="DCVN*BXNUOP" />
              <UpdatedArrivalTime>03-30T14:15</UpdatedArrivalTime>
              <UpdatedDepartureTime>03-30T12:00</UpdatedDepartureTime>
            </FlightSegment>
            <Product>
              <ProductDetails productCategory="AIR">
                <ProductName type="AIR" />
                <Air sequence="1" segmentAssociationId="2">
                  <DepartureAirport>HAN</DepartureAirport>
                  <DepartureTerminalName>TERMINAL 1</DepartureTerminalName>
                  <DepartureTerminalCode>1</DepartureTerminalCode>
                  <ArrivalAirport>SGN</ArrivalAirport>
                  <ArrivalTerminalName>TERMINAL 1</ArrivalTerminalName>
                  <ArrivalTerminalCode>1</ArrivalTerminalCode>
                  <EquipmentType>321</EquipmentType>
                  <MarketingAirlineCode>VN</MarketingAirlineCode>
                  <MarketingFlightNumber>233</MarketingFlightNumber>
                  <MarketingClassOfService>J</MarketingClassOfService>
                  <MealCode>L</MealCode>
                  <ElapsedTime>135</ElapsedTime>
                  <AirMilesFlown>718</AirMilesFlown>
                  <FunnelFlight>false</FunnelFlight>
                  <ChangeOfGauge>false</ChangeOfGauge>
                  <DisclosureCarrier Code="VN" DOT="false">
                    <Banner>VIETNAM AIRLINES</Banner>
                  </DisclosureCarrier>
                  <AirlineRefId>DCVN*BXNUOP</AirlineRefId>
                  <Eticket>true</Eticket>
                  <DepartureDateTime>2020-03-30T12:00:00</DepartureDateTime>
                  <ArrivalDateTime>2020-03-30T14:15:00</ArrivalDateTime>
                  <FlightNumber>233</FlightNumber>
                  <ClassOfService>J</ClassOfService>
                  <ActionCode>HK</ActionCode>
                  <NumberInParty>1</NumberInParty>
                  <inboundConnection>false</inboundConnection>
                  <outboundConnection>false</outboundConnection>
                  <SegmentBookedDate>2020-01-30T03:33:00</SegmentBookedDate>
                </Air>
              </ProductDetails>
            </Product>
          </Item>
          <Item RPH="2">
            <FlightSegment AirMilesFlown="2722" ArrivalDateTime="03-31T13:45" DayOfWeekInd="2" DepartureDateTime="2020-03-31T06:25" SegmentBookedDate="2020-01-30T03:35:00" ElapsedTime="05.20" eTicket="true" FlightNumber="9704" NumberInParty="01" ResBookDesigCode="J" SegmentNumber="0002" SmokingAllowed="false" SpecialMeal="false" Status="HK" StopQuantity="00" IsPast="false" CodeShare="true" Id="9">
              <DestinationLocation LocationCode="NRT" Terminal="TERMINAL 1" TerminalCode="1" />
              <Equipment AirEquipType="350" />
              <MarketingAirline Code="NH" FlightNumber="9704" ResBookDesigCode="J">
                <Banner>MARKETED BY ALL NIPPON AIRWAYS</Banner>
              </MarketingAirline>
              <Meal Code="B" />
              <OperatingAirline Code="VN" FlightNumber="0302" ResBookDesigCode="J">
                <Banner>OPERATED BY VIETNAM AIRLINES</Banner>
              </OperatingAirline>
              <OperatingAirlinePricing Code="VN" />
              <DisclosureCarrier Code="VN" DOT="true">
                <Banner>VIETNAM AIRLINES</Banner>
              </DisclosureCarrier>
              <OriginLocation LocationCode="SGN" Terminal="TERMINAL 2" TerminalCode="2" />
              <SupplierRef ID="DCNH*NHX299" />
              <UpdatedArrivalTime>03-31T13:45</UpdatedArrivalTime>
              <UpdatedDepartureTime>03-31T06:25</UpdatedDepartureTime>
            </FlightSegment>
            <Product>
              <ProductDetails productCategory="AIR">
                <ProductName type="AIR" />
                <Air sequence="2" segmentAssociationId="3">
                  <DepartureAirport>SGN</DepartureAirport>
                  <DepartureTerminalName>TERMINAL 2</DepartureTerminalName>
                  <DepartureTerminalCode>2</DepartureTerminalCode>
                  <ArrivalAirport>NRT</ArrivalAirport>
                  <ArrivalTerminalName>TERMINAL 1</ArrivalTerminalName>
                  <ArrivalTerminalCode>1</ArrivalTerminalCode>
                  <OperatingAirlineCode>VN</OperatingAirlineCode>
                  <EquipmentType>359</EquipmentType>
                  <MarketingAirlineCode>NH</MarketingAirlineCode>
                  <MarketingFlightNumber>9704</MarketingFlightNumber>
                  <MarketingClassOfService>J</MarketingClassOfService>
                  <MealCode>B</MealCode>
                  <ElapsedTime>320</ElapsedTime>
                  <AirMilesFlown>2722</AirMilesFlown>
                  <FunnelFlight>false</FunnelFlight>
                  <ChangeOfGauge>false</ChangeOfGauge>
                  <DisclosureCarrier Code="VN" DOT="true">
                    <Banner>VIETNAM AIRLINES</Banner>
                  </DisclosureCarrier>
                  <AirlineRefId>DCNH*NHX299</AirlineRefId>
                  <Eticket>true</Eticket>
                  <DepartureDateTime>2020-03-31T06:25:00</DepartureDateTime>
                  <ArrivalDateTime>2020-03-31T13:45:00</ArrivalDateTime>
                  <FlightNumber>9704</FlightNumber>
                  <ClassOfService>J</ClassOfService>
                  <ActionCode>HK</ActionCode>
                  <NumberInParty>1</NumberInParty>
                  <inboundConnection>false</inboundConnection>
                  <outboundConnection>false</outboundConnection>
                  <SegmentBookedDate>2020-01-30T03:35:00</SegmentBookedDate>
                </Air>
              </ProductDetails>
            </Product>
          </Item>
        </ReservationItems>
        <Ticketing RPH="01" TicketTimeLimit="T-AUTO" />
      </ItineraryInfo>
      <ItineraryRef AirExtras="false" ID="BXNUWN" InhibitCode="U" PartitionID="AA" PrimeHostID="1F">
        <Header>PRICE QUOTE RECORD - NOT PRICED</Header>
        <Source AAA_PseudoCityCode="8IC6" CreateDateTime="2020-01-30T03:33" CreationAgent="A1F" HomePseudoCityCode="8IC6" PseudoCityCode="8IC6" ReceivedFrom="1" LastUpdateDateTime="2020-01-30T03:35" SequenceNumber="2" />
      </ItineraryRef>
      <OpenReservationElements>
        <OpenReservationElement id="3" elementId="pnr-or-3" />
        <OpenReservationElement id="3" elementId="pnr-or-3" />
        <OpenReservationElement id="9" elementId="pnr-or-9" />
        <OpenReservationElement id="9" elementId="pnr-or-9" />
      </OpenReservationElements>
    </TravelItinerary>
  </TravelItineraryRead>
</UpdatePassengerNameRecordRS>
 

XMLタグ定義書

XMLスキーマ

【注意点】
各種XMLスキーマは、Sabre社提供のオリジナル版となるため、「XMLタグ定義書」の記載上、
利用不可の情報が含まれております。
スキーマを利用してアプリケーションを構築される場合の各タグの利用可否は、
必ず「XMLタグ定義書」にてご確認ください。

※弊社にて「XMLタグ定義書」を作成する際、各タグの利用可否確認を行っております。
 

注意事項

①キャリアによってはEOT前にDOCS入力が必須の場合があります。
②SSR/OSI/DOCA/DOCS/DOCOを入力する際は、キャリア問わず<Airline Hosted="false" />を必ずご入力ください。

リクエストサンプル(一部)
        <SpecialServiceRQ>
            <SpecialServiceInfo>
                <SecureFlight>
                    <PersonName DateOfBirth="1990-06-20" Gender="M" NameNumber="1.1">
                        <GivenName>TARO</GivenName>
                        <Surname>INFINI</Surname>
                    </PersonName>
                    <VendorPrefs>
                        <Airline Hosted="false"/>
                    </VendorPrefs>

                </SecureFlight>
                <Service SSR_Code="VGML" SegmentNumber="A">
                    <PersonName NameNumber="1.1"/>
                    <VendorPrefs>
                        <Airline Hosted="false"/>
                    </VendorPrefs>

                </Service>
            </SpecialServiceInfo>
        </SpecialServiceRQ>