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

北战南征 提交于 2019-12-10 10:16:54

问题


This is my current Request.

<SabreCommandLLSRQ
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Request Output="SCREEN" CDATA="true"
    xmlns="http://webservices.sabre.com/sabreXML/2003/07">
    <HostCommand>**W1</HostCommand>
</Request>

This is The response I am getting.

<SabreCommandLLSRS
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Response
    xmlns="http://webservices.sabre.com/sabreXML/2003/07">NO TKT REC EXISTS-0016
</Response>

I need to know what command should i Pass in this TAG for SABRE, inorder to check the current price of an existing booked PNR.

    <HostCommand>**W1</HostCommand>

**W1 is the command used for the same in ABACUS.

somebody please let me know how to the same for sabre. or any other service that provide result for the same.


回答1:


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">



回答2:


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.




回答3:


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



来源:https://stackoverflow.com/questions/30866226/what-command-do-i-need-to-pass-in-sabrecommandllsrq-to-get-current-price-of-pnr

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