0

我一直在尝试取消 Amadeus 的预订,每次我使用有效的 PNR 执行此操作时,它都会返回一个空响应。下面是示例代码

cancelPNR 请求 XML

 <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
        <soap:Body>
            <wmPNRCancel xmlns="http://traveltalk.com/wsPNRCancel">
                <OTA_CancelRQ>
                  <POS>
    <Source PseudoCityCode="*******" ISOCurrency="NGN">
     <RequestorID Type="21" ID="********"/>
    </Source>
     <TPA_Extensions>
        <Provider>
           <Name>Amadeus</Name> 
           <System>Test</System> 
           <Userid>******</Userid> 
           <Password>**********</Password> 
        </Provider>
     </TPA_Extensions>
  </POS>
                  <UniqueID ID="******"/>
                </OTA_CancelRQ>
               </wmPNRCancel> 
        </soap:Body>
    </soap:Envelope>

取消 PNR 响应

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<wmPNRCancelResponse xmlns="http://traveltalk.com/wsPNRCancel" />
</soap:Body>
</soap:Envelope>

有什么问题?请我需要帮助

4

0 回答 0