Soap Sabre Web服务GetReservationRQ酒店产品返回不正确的“值”;isPast";要素
我正在使用Sabre Web服务使用GetReservationRQ API的有效负载。返回的某些段数据中存在冲突信息。每个酒店细分市场都有两个子元素-酒店和产品。为什么这些回答中的“isPast”元素有所不同?下面是我截短的XML响应。Sabre有人能回答这个问题吗Soap Sabre Web服务GetReservationRQ酒店产品返回不正确的“值”;isPast";要素,soap,sabre,Soap,Sabre,我正在使用Sabre Web服务使用GetReservationRQ API的有效负载。返回的某些段数据中存在冲突信息。每个酒店细分市场都有两个子元素-酒店和产品。为什么这些回答中的“isPast”元素有所不同?下面是我截短的XML响应。Sabre有人能回答这个问题吗 <Segment sequence="1" id="223"> <Hotel id="223" sequence="1" isPast="true"> <Reservation DayOf
<Segment sequence="1" id="223">
<Hotel id="223" sequence="1" isPast="true">
<Reservation DayOfWeekInd="2" NumberInParty="01" xmlns="http://services.sabre.com/res/or/v1_14">
<...>
</...>
<TimeSpanStart>2019-12-17T00:00:00</TimeSpanStart>
<TimeSpanDuration>1</TimeSpanDuration>
<TimeSpanEnd>2019-12-18T00:00:00</TimeSpanEnd>
<...>
</...>
</Reservation>
<AdditionalInformation xmlns="http://services.sabre.com/res/or/v1_14">
<....>
</....>
</AdditionalInformation>
</Hotel>
<Product sequence="1" id="223">
<ProductBase xmlns="http://services.sabre.com/res/or/v1_14">
<SegmentReference>223</SegmentReference>
</ProductBase>
<ProductDetails vendorCode="PH" statusCode="HK" previousStatusCode="SS" startDateTime="2019-12-17T00:00:00" endDateTime="2019-12-18T00:00:00" xmlns="http://services.sabre.com/res/or/v1_14">
<ProductName type="HHL" />
<Hotel id="223" sequence="1" isPast="false">
<Reservation DayOfWeekInd="2" NumberInParty="01">
<...>
</...>
</Hotel>
</ProductDetails>
</Product>
</Segment>
2019-12-17T00:00:00
1.
2019-12-18T00:00:00
223
我猜测这是因为每个酒店可以在一个PNRHuh中拥有多个“产品”,我不知道这一点。我很困惑这将如何工作,因为我在有效载荷中看到的所有“产品”元素都准确地反映了酒店数据(除了过去的日期)。还可以提供哪些其他类型的产品?