我需要在 SabreCommandLLSRQ 中传递什么命令才能获取 PNR 的当前价格?

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

这是我当前的请求。

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

这是我得到的回复。

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

我需要知道我应该为 SABRE 在这个 TAG 中传递什么命令,以便检查现有预订的 PNR 的当前价格。

    <HostCommand>**W1</HostCommand>

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

有人请让我知道军刀如何使用。 或提供相同结果的任何其他服务。

如果您只是想为当前行程定价,Saber 命令是:

WP(价格当前行程与当前类服务)

WPNC(以最低可用票价为当前行程定价)

WPNCB(以最低可用票价为当前行程定价并重新预订新的 类 服务,如果适用)

如果你想要的只是当前类服务中当前itin的简单价格,WP应该给你想要的。

据我所知,没有 API 可以做到这一点,因此我认为您使用 HostCommand 的方向是正确的。

是的,有一个 API 用于定价 Trip/PNR。这是机票价格(OTA_AirPriceLLSRQ).

您可以在下面找到有关此服务的信息:

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

存储价格的命令实际上是PQ(如果您使用的是SabreCommand 服务)。或者甚至可以使用 WPRQ 在同一个命令中定价和存储价格。

如果您使用 OTA_AirPriceLLSRQ 服务,您可以使用 Retain 标志,这样,在您的请求中:

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