travelport AirPriceReq API 的编组错误

问题描述 投票:0回答:1

我正在尝试使用 uAPI AirPriceReq 使用目标分支 P7193093 的预生产凭据来获取特定航班号的定价详细信息。响应是“发生了一般编组异常。”包括 TransactionId“71603C220A0D6A956050B65EB21624C5”。 我不确定这是否与目标分支或身份验证错误有关。 任何见解将不胜感激。

下面分享的是 URL 及其请求响应 网址 - https://americas.universal-api.pp.travelport.com/B2BGateway/connect/uAPI/AirService

要求:-

<s:Envelope
xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<AirPriceReq
xmlns="http://www.travelport.com/schema/air_v18_0"
TargetBranch="P7193093"
AuthorizedBy=""
TraceId="b2ad1866-b41a-4885-a557-79e03c2806a9"
FareRuleType="long">
<BillingPointOfSaleInfo
xmlns="http://www.travelport.com/schema/common_v15_0"
OriginApplication="uAPI"/>
<AirItinerary>
<AirSegment
Key="C/OEKtTqWDKAHspWIAAAAA=="
Status="NN"
Equipment="73G"
AvailabilitySource="Seamless"
Origin="SYD"
Destination="MEL"
DepartureTime="2023-11-01T06:30:00.000+11:00"
FlightNumber="405"
Group="0" 
Carrier="QF" 
ArrivalTime="2023-11-01T08:05:00.000+11:00"
ProviderCode="1V"
FlightTime="95"
TravelTime="P1DT1H45M0S">
<CodeshareInfo
OperatingCarrier="CO">Continental</CodeshareInfo>
</AirSegment>
</AirItinerary>
<AirPricingModifiers
FaresIndicator="PublicAndPrivateFares">
<ExemptTaxes/>
</AirPricingModifiers>
<SearchPassenger
xmlns="http://www.travelport.com/schema/common_v15_0"
PricePTCOnly="false"
Code="ADT"/>
<AirPricingCommand/>
</AirPriceReq>
</s:Body>
</s:Envelope>

回应

<SOAP:Envelope
xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Body>
<SOAP:Fault>
<faultcode>Server.System</faultcode>
<faultstring>A general marshalling exception occurred.</faultstring>
<detail>
<common_v51_0:ErrorInfo
xmlns:common_v51_0="http://www.travelport.com/schema/common_v51_0">
<common_v51_0:Code>1201</common_v51_0:Code>
<common_v51_0:Service>WEBSVC</common_v51_0:Service>
<common_v51_0:Type>System</common_v51_0:Type>
<common_v51_0:Description>A general marshalling exception occurred.</common_v51_0:Description>
<common_v51_0:TransactionId>71603C220A0D6A956050B65EB21624C5</common_v51_0:TransactionId>
</common_v51_0:ErrorInfo>
</detail>
</SOAP:Fault>
</SOAP:Body>
</SOAP:Envelope>

soap postman http-post travelport-api
1个回答
0
投票

您可以尝试升级V18以上版本吗?

© www.soinside.com 2019 - 2024. All rights reserved.