sabre - 如何在 GetReservationRS 中获取服务价格
问题描述
I have booked a valid available service through Sabre PassengerDetailsRS and booking was successful. But in the GetReservationRS, price of the service is missing. How can we get that price. My GetReservationRQ was as below
<?xml version="1.0" encoding="UTF-8"?>
<ns7:GetReservationRQ xmlns:ns7="http://webservices.sabre.com/pnrbuilder/v1_19" Version="1.19.0">
<ns7:Locator>*pnr_number</ns7:Locator>
<ns7:RequestType>Stateful</ns7:RequestType>
<ns7:ReturnOptions PriceQuoteServiceVersion="3.2.0">
<ns7:SubjectAreas>
<ns7:SubjectArea>PRICE_QUOTE</ns7:SubjectArea>
</ns7:SubjectAreas>
<ns7:ViewName>Full</ns7:ViewName>
<ns7:ResponseFormat>STL</ns7:ResponseFormat>
</ns7:ReturnOptions>
</ns7:GetReservationRQ>
</soapenv:Body>
And in the response, that service is present which I booked in the booking step. But there is no pricing reference for that service, only the flight total price is present which is service excluded price
... /SPORTING FIREARMS WEAP BA NN1 LHRZRH0720N11AUG/SPORTING FIREARMS I BA 110.59 2019-06-16T13:03:00 。. .
How can I get the price of ode="WEAP" (<or114:FreeText>/SPORTING FIREARMS</or114:FreeText>)
解决方案
由于这对大多数航空公司来说是一种追加销售,因此它属于辅助服务 - 因此,您应该使用它们来定价:GetAncillaryOffersRQ
推荐阅读
- python - 在 anaconda 中安装 Pycaret 时如何解决 C++ 错误?
- typescript - 使用 Typescript 的 Firebase 函数上的 Next.js
- python - 如何使用 pandas.Series.str.contains 删除列
- microcontroller - EFM8BB1(8051 微控制器)支持的数据类型 - C 编程
- python - 如何在Python中获取一个字符串直到一个特殊字符?
- android - 如何在运行时从 Delphi Rio 获取 Android API 版本?
- javascript - 根据路由动态获取路由信息
- vue.js - IONIC VUE:离子菜单按钮未显示;令人困惑的文档
- typescript - 推断函数的参数列表
- sql - 如何转换带有多个表的 Sequelize 的 SQL 查询?