如何解决获取路线,乘客预订以及佩剑的报价getResarvationRQ
标题 passeger预订 价格报价或行程定价 使用GEtReservationRQ。 下面是一个示例req,仅返回pricequote
<ns7:GetReservationRQ xmlns:ns7="http://webservices.sabre.com/pnrbuilder/v1_19" Version="1.19.0">
<ns7:Locator>IJKZUQ</ns7:Locator>
<ns7:RequestType>Stateless</ns7:RequestType>
<ns7:ReturnOptions PriceQuoteServiceVersion="3.2.0">
<ns7:SubjectAreas>
<ns7:SubjectArea>PRICE_QUOTE</ns7:SubjectArea>
</ns7:SubjectAreas>
<ns7:ViewName>Simple</ns7:ViewName>
<ns7:ResponseFormat>STL</ns7:ResponseFormat>
</ns7:ReturnOptions>
</ns7:GetReservationRQ>
解决方法
我不认为有任何其他API选项可以这样做,这绝对令人发疯。我认为您需要对DisplayPriceQuote API进行单独的调用。
,您可以使用VaDefaultWithPq
作为“查看”参数来检索已定价的路线列表以及PNR信息:
<GetReservationRQ Version="1.19.0" xmlns="http://webservices.sabre.com/pnrbuilder/v1_19">
<Locator>XXXXXX</Locator>
<RequestType>Stateful</RequestType>
<ReturnOptions>
<ViewName>VaDefaultWithPq</ViewName>
<ResponseFormat>STL</ResponseFormat>
</ReturnOptions>
</GetReservationRQ>
Sabre用户指南还列出了其他可能的视图类型: https://developer.sabre.com/docs/soap_apis/management/itinerary/Retrieve_Itinerary/resources
,@Anuj,
我也使用下面的设置来获取priceingInformation和priceQuote!
<ns4:GetReservationRQ Version="1.19.0">
<ns4:Locator>**RECLOC**</ns4:Locator>
<ns4:RequestType>**Stateful**</ns4:RequestType>
<ns4:ReturnOptions PriceQuoteServiceVersion="4.0.0">
<ns4:SubjectAreas>
<ns4:SubjectArea>**ACTIVE**</ns4:SubjectArea>
<ns4:SubjectArea>**ANCILLARY**</ns4:SubjectArea>
<ns4:SubjectArea>**FARE_TYPE**</ns4:SubjectArea>
<ns4:SubjectArea>**PRICING_INFORMATION**</ns4:SubjectArea>
<ns4:SubjectArea>**PRICE_QUOTE**</ns4:SubjectArea>
</ns4:SubjectAreas>
<ns4:ViewName>**Full**</ns4:ViewName>
<ns4:ResponseFormat>**STL**</ns4:ResponseFormat>
</ns4:ReturnOptions>
</ns4:GetReservationRQ>
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。