如何使用 Sabre_OTA_ProfileUpdateRQ 修改特定元素

How to modifiy a specific element using Sabre_OTA_ProfileUpdateRQ

我在 Sabre 的 API 文档中找不到如何指定添加哪个元素以便在同一配置文件中存在多个相同类型的元素时修改字段,例如电子邮件地址。

我收到“无法区分 EmailType 元素”。错误

我需要添加任何参考号或类似的东西吗?

<Sabre_OTA_ProfileUpdateRQ Version="6.61.4" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.sabre.com/eps/schemas" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sabre.com/eps/schemas \schemas\Sabre_OTA_ProfileUpdateRQ.xsd">
        <ProfileInfo>
            <PartialUpdates>
                <TPA_Identity UniqueID="000000000" ProfileTypeCode="TVL" ClientCode="TN" ClientContextCode="TMP" DomainID="XXXX"/>
               <Modify>
          <ModifySubtree child="/Profile/Traveler/Customer/Email">
          <MatchSubtree>
            <Traveler>
              <Email EmailAddress="asd@gmail.com"
              />
            </Traveler>
          </MatchSubtree>
          <NewSubtree>
            <Traveler>
              <Email EmailAddress="asd@hotmail.com"/>
            </Traveler>
          </NewSubtree>
           </ModifySubtree>
              </Modify>
            </PartialUpdates>
        </ProfileInfo>
    </Sabre_OTA_ProfileUpdateRQ>

Saber 配置文件中的部分更新功能尚未实现。除了使用完整更新,它会删除整个配置文件,然后用您在 EPS_EXT_ProfileUpdateRQ 调用中发送的内容更新它,您可以使用另一种方法来获得类似的结果,即查看技术用户指南中有关如何操作的部分使用忽略主题区域功能。您可以更新配置文件而忽略其他主题区域并仅发送电子邮件字段的更新。