添加用户定义的接口数据 (UDID) 到 Sabre PNR

huangapple go评论92阅读模式
英文:

Adding User Defined Interface Data (UDID) to Sabre PNR

问题

我尝试使用SOAP API添加UDID字段到PNR,但在文档中没有提到这样的功能!

所以我尝试使用SabreCommandLLSRQ端点附加UD字段,但尽管收到*响应,我似乎无法进行任何更改。

我尝试使用以下命令来使用该端点:

5.S*RL[记录定位器]*UD56 [一些测试值]

例如:

5.S*RLEPLHYN*UD56 YVRYEG

但这也导致了一个*响应,而PNR实际上没有更改。

英文:

I'm trying to add UDID fields to PNRs using the SOAP API. There is no mention of such functionality anywhere in the docs!

So I tried using the SabreCommandLLSRQ endpoint to attach the UD fields, but I don't seem to be able to make any changes, despite receiving a * response.

I've tried the following command using the endpoint:

5.S*RL[record locator]*UD56 [some test value]

For example:

5.S*RLEPLHYN*UD56 YVRYEG

But that also leads to a * response without the PNR actually changing.

答案1

得分: 1

你确定这是正确的UDID格式吗?我以前从未见过在UDID之前添加记录定位器。如果使用SabreCommandLLSRQ端点,我期望您的格式应该如下:

5.S*UD56 [一些测试值]

有很多UDID格式,所以我可能错了,而且我知道响应可能会有点古怪。如果您只是将您的格式输入Sabre Red中,PNR中会得到什么响应?

还有支持在Add Itinerary Remark (AddRemarkLLSRQ)中添加行程备注,这对您也可能很有帮助。

英文:

Are you sure that's the right UDID format? I've never seen a record locator prepended to a UDID before. If using the SabreCommandLLSRQ endpoint I would expect your format to look like this:

5.S*UD56 [some test value]

There are many UDID formats so I may be wrong there and I know the responses can be quirky. What response do you get in a PNR if you simply enter your format into Sabre Red?

There is also support for itin remarks in the Add Itinerary Remark (AddRemarkLLSRQ), which may be worth implementing for you as well.

答案2

得分: 1

我在API中也找到了它,它只在AddRemarkRQ的众多示例中提到了一次:
如果你希望它出现在行程中:

<AddRemarkRQ xmlns="http://webservices.sabre.com/sabreXML/2011/10" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Version="2.1.1">
	<RemarkInfo>
		<Remark Type="Invoice">
			<Text>
				U45-111794
			</Text>
		</Remark>
	</RemarkInfo>
</AddRemarkRQ>

如果你不希望它出现在行程中:

<AddRemarkRQ xmlns="http://webservices.sabre.com/sabreXML/2011/10" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Version="2.1.1">
	<RemarkInfo>
		<Remark Type="Invoice">
			<Text>
				U*45-111794
			</Text>
		</Remark>
	</RemarkInfo>
</AddRemarkRQ>

我已在CreatePassengerNameRecordRQAddRemarkRQ上下文中进行了测试。

英文:

I found it in the API too, it is only mentioned in one of many examples in AddRemarkRQ:
If you want it to show up on the itinerary:

<AddRemarkRQ xmlns="http://webservices.sabre.com/sabreXML/2011/10" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Version="2.1.1">
	<RemarkInfo>
		<Remark Type="Invoice">
			<Text>
				U45-111794
			</Text>
		</Remark>
	</RemarkInfo>
</AddRemarkRQ>

If you don't want it to show up on the itinerary:

<AddRemarkRQ xmlns="http://webservices.sabre.com/sabreXML/2011/10" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Version="2.1.1">
	<RemarkInfo>
		<Remark Type="Invoice">
			<Text>
				U*45-111794
			</Text>
		</Remark>
	</RemarkInfo>
</AddRemarkRQ>

I've tested it in both CreatePassengerNameRecordRQ and AddRemarkRQ contexts.

huangapple
  • 本文由 发表于 2023年2月14日 08:32:07
  • 转载请务必保留本文链接:https://go.coder-hub.com/75442444.html
  • sabre
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定