What command do i need to pass in SabreCommandLLSRQ to get current price of PNR?

给你一囗甜甜゛ 提交于 2019-12-05 21:45:48
fcarreno

The command to store the price is actually PQ (if you are using SabreCommand service). Or even WPRQ can be used to price and store the price in the same command.

If you use OTA_AirPriceLLSRQ service, you can use the Retain flag, this way, in your request:

<OTA_AirPriceRQ>
....
<PriceRequestInformation Retain="true">

If you are just looking to price the current itinerary, the Sabre commands are:

WP (price current itinerary with the current classes of service)

WPNC (price current itinerary with the lowest available fare)

WPNCB (price current itinerary with the lowest available fare AND rebook new classes of service, if applicable)

If all you want is the simple price of the current itin in the current classes of service, WP should give you want you want.

To my knowledge there is no API built to do that, so I think you are on the right track using HostCommand.

Yes, there is an API for Pricing a Trip/PNR. This is the Price Air Itinerary(OTA_AirPriceLLSRQ).

You can find information about this service below:

https://developer.sabre.com/docs/read/soap_apis/air/book/Price_Air_Itinerary

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!