以下回复来自 Sabre TravelItineraryReadRQ
<ReservationItems>
<Item>
<FlightSegment>
<DestinationLocation>
<LocationCode>RUH</LocationCode>
<Terminal>TERMINAL 2</Terminal>
<TerminalCode>2</TerminalCode>
</DestinationLocation>
<Equipment>
<AirEquipType>320</AirEquipType>
</Equipment>
<MarketingAirline>
<Code>SV</Code>
<FlightNumber>0573</FlightNumber>
</MarketingAirline>
<Meal>
<Code>M</Code>
</Meal>
<OriginLocation>
<LocationCode>AUH</LocationCode>
<Terminal>TERMINAL 1</Terminal>
<TerminalCode>1</TerminalCode>
</OriginLocation>
<SupplierRef>
<ID>123</ID>
</SupplierRef>
<UpdatedArrivalTime>06-27T21:50</UpdatedArrivalTime>
<UpdatedDepartureTime>06-27T21:00</UpdatedDepartureTime>
<AirMilesFlown>0483</AirMilesFlown>
<ArrivalDateTime>06-27T21:50</ArrivalDateTime>
<ConnectionInd>O</ConnectionInd>
<DayOfWeekInd>6</DayOfWeekInd>
<DepartureDateTime>2015-06-27T21:00</DepartureDateTime>
<ElapsedTime>01.50</ElapsedTime>
<eTicket>false</eTicket>
<FlightNumber>0573</FlightNumber>
<NumberInParty>01</NumberInParty>
<ResBookDesigCode>V</ResBookDesigCode>
<SegmentNumber>0001</SegmentNumber>
<SmokingAllowed>false</SmokingAllowed>
<SpecialMeal>false</SpecialMeal>
<Status>HK</Status>
<StopQuantity>00</StopQuantity>
</FlightSegment>
<RPH>1</RPH>
</Item>
<Item>
<FlightSegment>
<DestinationLocation>
<LocationCode>LHR</LocationCode>
<Terminal>TERMINAL 4</Terminal>
<TerminalCode>4</TerminalCode>
</DestinationLocation>
<Equipment>
<AirEquipType>77W</AirEquipType>
</Equipment>
<MarketingAirline>
<Code>SV</Code>
<FlightNumber>0107</FlightNumber>
</MarketingAirline>
<Meal>
<Code>M</Code>
</Meal>
<OriginLocation>
<LocationCode>RUH</LocationCode>
<Terminal>TERMINAL 2</Terminal>
<TerminalCode>2</TerminalCode>
</OriginLocation>
<SupplierRef>
<ID>123</ID>
</SupplierRef>
<UpdatedArrivalTime>06-28T07:15</UpdatedArrivalTime>
<UpdatedDepartureTime>06-28T02:20</UpdatedDepartureTime>
<AirMilesFlown>3087</AirMilesFlown>
<ArrivalDateTime>06-28T07:15</ArrivalDateTime>
<ConnectionInd>I</ConnectionInd>
<DayOfWeekInd>7</DayOfWeekInd>
<DepartureDateTime>2015-06-28T02:20</DepartureDateTime>
<ElapsedTime>06.55</ElapsedTime>
<eTicket>false</eTicket>
<FlightNumber>0107</FlightNumber>
<NumberInParty>01</NumberInParty>
<ResBookDesigCode>V</ResBookDesigCode>
<SegmentNumber>0002</SegmentNumber>
<SmokingAllowed>false</SmokingAllowed>
<SpecialMeal>false</SpecialMeal>
<Status>HK</Status>
<StopQuantity>00</StopQuantity>
</FlightSegment>
<RPH>2</RPH>
</Item>
<Item>
<FlightSegment>
<DestinationLocation>
<LocationCode>RUH</LocationCode>
<Terminal>TERMINAL 2</Terminal>
<TerminalCode>2</TerminalCode>
</DestinationLocation>
<Equipment>
<AirEquipType>77W</AirEquipType>
</Equipment>
<MarketingAirline>
<Code>SV</Code>
<FlightNumber>0118</FlightNumber>
</MarketingAirline>
<Meal>
<Code>M</Code>
</Meal>
<OriginLocation>
<LocationCode>LHR</LocationCode>
<Terminal>TERMINAL 4</Terminal>
<TerminalCode>4</TerminalCode>
</OriginLocation>
<SupplierRef>
<ID>123</ID>
</SupplierRef>
<UpdatedArrivalTime>07-16T03:35</UpdatedArrivalTime>
<UpdatedDepartureTime>07-15T18:50</UpdatedDepartureTime>
<AirMilesFlown>3087</AirMilesFlown>
<ArrivalDateTime>07-16T03:35</ArrivalDateTime>
<ConnectionInd>O</ConnectionInd>
<DayOfWeekInd>3</DayOfWeekInd>
<DepartureDateTime>2015-07-15T18:50</DepartureDateTime>
<ElapsedTime>06.45</ElapsedTime>
<eTicket>false</eTicket>
<FlightNumber>0118</FlightNumber>
<NumberInParty>01</NumberInParty>
<ResBookDesigCode>V</ResBookDesigCode>
<SegmentNumber>0003</SegmentNumber>
<SmokingAllowed>false</SmokingAllowed>
<SpecialMeal>false</SpecialMeal>
<Status>HK</Status>
<StopQuantity>00</StopQuantity>
</FlightSegment>
<RPH>3</RPH>
</Item>
<Item>
<FlightSegment>
<DestinationLocation>
<LocationCode>AUH</LocationCode>
<Terminal>TERMINAL 1</Terminal>
<TerminalCode>1</TerminalCode>
</DestinationLocation>
<Equipment>
<AirEquipType>E70</AirEquipType>
</Equipment>
<MarketingAirline>
<Code>SV</Code>
<FlightNumber>0578</FlightNumber>
</MarketingAirline>
<Meal>
<Code>M</Code>
</Meal>
<OriginLocation>
<LocationCode>RUH</LocationCode>
<Terminal>TERMINAL 2</Terminal>
<TerminalCode>2</TerminalCode>
</OriginLocation>
<SupplierRef>
<ID>123</ID>
</SupplierRef>
<UpdatedArrivalTime>07-16T09:15</UpdatedArrivalTime>
<UpdatedDepartureTime>07-16T06:30</UpdatedDepartureTime>
<AirMilesFlown>0483</AirMilesFlown>
<ArrivalDateTime>07-16T09:15</ArrivalDateTime>
<ConnectionInd>I</ConnectionInd>
<DayOfWeekInd>4</DayOfWeekInd>
<DepartureDateTime>2015-07-16T06:30</DepartureDateTime>
<ElapsedTime>01.45</ElapsedTime>
<eTicket>false</eTicket>
<FlightNumber>0578</FlightNumber>
<NumberInParty>01</NumberInParty>
<ResBookDesigCode>V</ResBookDesigCode>
<SegmentNumber>0004</SegmentNumber>
<SmokingAllowed>false</SmokingAllowed>
<SpecialMeal>false</SpecialMeal>
<Status>HK</Status>
<StopQuantity>00</StopQuantity>
</FlightSegment>
<RPH>4</RPH>
</Item>
</ReservationItems>
从上述回复中,我想确定返回和后续部分。Rph = 1,2 是 Onward,Rph = 3,4 是 Retrun。
当我从 PNR 中读取此信息时,我需要一种方法来识别这些信息。所以我也无法将它与任何其他请求进行比较。
我不是在寻找代码来执行此操作,我是在询问是否有人了解 Sabre,是否有办法使用一些标识符来获取响应以识别 Onward 和 Return,例如MaryGrp。