Search code examples
xmlvb.netwsdlsabre

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


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.


Solution

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