SABRE 讨价还价查找器 Max
SABRE Bargain Finder Max
我正在使用 Bargain Finder Max Sabre SOAP 方法,我总是收到已弃用的响应版本,但我指定的是请求版本 ="3.4.0" 和响应版本 ="3.4.0"。
我的要求:
<?xml version="1.0" encoding="UTF-8"?>
<OTA_AirLowFareSearchRQ xmlns="http://www.opentravel.org/OTA/2003/05" Target="Test" Version="3.4.0" ResponseType="OTA" ResponseVersion="3.4.0">
<POS>
<Source PseudoCityCode="xxxx">
<RequestorID Type="1" Instance="1" ID="1" />
</Source>
</POS>
<OriginDestinationInformation RPH="1">
<DepartureDateTime>2018-01-15T00:00:00</DepartureDateTime>
<OriginLocation LocationCode="YYZ" />
<DestinationLocation LocationCode="SDQ" />
</OriginDestinationInformation>
<OriginDestinationInformation RPH="2">
<DepartureDateTime>2018-01-18T00:00:00</DepartureDateTime>
<OriginLocation LocationCode="SDQ" />
<DestinationLocation LocationCode="YYZ" />
</OriginDestinationInformation>
<TravelerInfoSummary>
<AirTravelerAvail>
<PassengerTypeQuantity Code="ADT" Quantity="1" />
</AirTravelerAvail>
<PriceRequestInformation CurrencyCode="USD" />
</TravelerInfoSummary>
<TPA_Extensions>
<IntelliSellTransaction>
<RequestType Name="50ITIN" />
</IntelliSellTransaction>
</TPA_Extensions>
</OTA_AirLowFareSearchRQ>
回复:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header />
<SOAP-ENV:Body>
<OTA_AirLowFareSearchRS xmlns="http://www.opentravel.org/OTA/2003/05" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Version="1.0">
<Errors>
<Error Type="SRV.DRE" Code="REQ.FLR" ShortText="dre request failed" />
<Error Type="IF2" Code="PROCESS" ShortText="PROCESSING ERROR DETECTED" />
<Error Type="MAIN" Code="DEPRECATEDRS" ShortText="This response version is deprecated and will be decommissioned once a newer version is released." />
<Error Type="WORKERTHREAD" Code="TRANSACTIONID" ShortText="6572224660929009932" />
<Error Type="SERVER" Code="TTFHLC850" ShortText="27042" />
<Error Type="ERR" Code="ERR" ShortText="Error during Processing" />
</Errors>
</OTA_AirLowFareSearchRS>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
感谢您的帮助。
请求在“RequestorID”下缺少公司名称。该元素应以具体值归档。
请求中预期:
<POS>
<Source PseudoCityCode="xxxx">
<RequestorID Type="1" Instance="1" ID="1">
<CompanyName Code="TN"/>
</RequestorID>
</Source>
</POS>
由于请求中没有这个元素“CompanyName“,交易失败,默认响应版本=“1.0”,并返回警告说该版本已被弃用。这是正在审查以增强的内容,但应该可以解决问题。
http://files.developer.sabre.com/doc/providerdoc/shopping/BargainFinderMaxRQ_v3-4-0_Design.xml
我正在使用 Bargain Finder Max Sabre SOAP 方法,我总是收到已弃用的响应版本,但我指定的是请求版本 ="3.4.0" 和响应版本 ="3.4.0"。
我的要求:
<?xml version="1.0" encoding="UTF-8"?>
<OTA_AirLowFareSearchRQ xmlns="http://www.opentravel.org/OTA/2003/05" Target="Test" Version="3.4.0" ResponseType="OTA" ResponseVersion="3.4.0">
<POS>
<Source PseudoCityCode="xxxx">
<RequestorID Type="1" Instance="1" ID="1" />
</Source>
</POS>
<OriginDestinationInformation RPH="1">
<DepartureDateTime>2018-01-15T00:00:00</DepartureDateTime>
<OriginLocation LocationCode="YYZ" />
<DestinationLocation LocationCode="SDQ" />
</OriginDestinationInformation>
<OriginDestinationInformation RPH="2">
<DepartureDateTime>2018-01-18T00:00:00</DepartureDateTime>
<OriginLocation LocationCode="SDQ" />
<DestinationLocation LocationCode="YYZ" />
</OriginDestinationInformation>
<TravelerInfoSummary>
<AirTravelerAvail>
<PassengerTypeQuantity Code="ADT" Quantity="1" />
</AirTravelerAvail>
<PriceRequestInformation CurrencyCode="USD" />
</TravelerInfoSummary>
<TPA_Extensions>
<IntelliSellTransaction>
<RequestType Name="50ITIN" />
</IntelliSellTransaction>
</TPA_Extensions>
</OTA_AirLowFareSearchRQ>
回复:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header />
<SOAP-ENV:Body>
<OTA_AirLowFareSearchRS xmlns="http://www.opentravel.org/OTA/2003/05" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Version="1.0">
<Errors>
<Error Type="SRV.DRE" Code="REQ.FLR" ShortText="dre request failed" />
<Error Type="IF2" Code="PROCESS" ShortText="PROCESSING ERROR DETECTED" />
<Error Type="MAIN" Code="DEPRECATEDRS" ShortText="This response version is deprecated and will be decommissioned once a newer version is released." />
<Error Type="WORKERTHREAD" Code="TRANSACTIONID" ShortText="6572224660929009932" />
<Error Type="SERVER" Code="TTFHLC850" ShortText="27042" />
<Error Type="ERR" Code="ERR" ShortText="Error during Processing" />
</Errors>
</OTA_AirLowFareSearchRS>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
感谢您的帮助。
请求在“RequestorID”下缺少公司名称。该元素应以具体值归档。
请求中预期:
<POS>
<Source PseudoCityCode="xxxx">
<RequestorID Type="1" Instance="1" ID="1">
<CompanyName Code="TN"/>
</RequestorID>
</Source>
</POS>
由于请求中没有这个元素“CompanyName“,交易失败,默认响应版本=“1.0”,并返回警告说该版本已被弃用。这是正在审查以增强的内容,但应该可以解决问题。
http://files.developer.sabre.com/doc/providerdoc/shopping/BargainFinderMaxRQ_v3-4-0_Design.xml