請找到下面的響應,而在肥皂呼籲書裏面我得到任何一個可以解釋我的完整的佩劍航空訂票流程後,我們得到的搜索結果
<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
<soap-env:Header>
<eb:MessageHeader eb:version="1.0" soap-env:mustUnderstand="1" xmlns:eb="http://www.ebxml.org/namespaces/messageHeader">
<eb:From>
<eb:PartyId eb:type="URI">Sabre</eb:PartyId>
</eb:From>
<eb:To>
<eb:PartyId eb:type="URI">Traform</eb:PartyId>
</eb:To>
<eb:CPAId>VJ6I</eb:CPAId>
<eb:ConversationId>TraformConversationId</eb:ConversationId>
<eb:Service eb:type="OTA">OTA_AirBookRQ</eb:Service>
<eb:Action>ErrorRS</eb:Action>
<eb:MessageData>
<eb:MessageId>2851813190937520610</eb:MessageId>
<eb:Timestamp>2017-05-18T05:18:13</eb:Timestamp>
<eb:RefToMessageId>TraformMessage</eb:RefToMessageId>
</eb:MessageData>
</eb:MessageHeader>
<wsse:Security xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/12/secext">
<wsse:BinarySecurityToken valueType="String" EncodingType="wsse:Base64Binary">T1RLAQJjFvduEm77D3CMjwxPjYk6gM1h1hByCnRdGipBRXTeqMsCcruqAACwOycU0Ymu010+D+Zc4NZNAVrusbm2wnNtL9eR8rbRZQqrb+HGaWtR/lFTOfm9ycPWkiZjyJi2AyaDn45OKyheGfdu5a0Nt+B4U5Ni07YJhLy+F5YNBfQEsP20ETKOYj2vRvWoS+U28A8lwtfpRaBI5GRkHQxnwebWIvPusHxCt7PxYDZ6P1x1vcMnPsefuxjJiHsPnXwL+YTi87sjTDp6vEwJKMb91I3/gnUtfGr17VE*</wsse:BinarySecurityToken>
</wsse:Security>
</soap-env:Header>
<soap-env:Body>
<soap-env:Fault>
<faultcode>soap-env:Client.AuthorizationFailed</faultcode>
<faultstring>Authorization failed</faultstring>
<detail>
<StackTrace>com.sabre.universalservices.base.security.AuthorizationException: errors.authorization.USG_AUTHORIZATION_FAILED</StackTrace>
</detail>
</soap-env:Fault>
</soap-env:Body>
</soap-env:Envelope>
謝謝djaszczurowski。 –
嗨djaszczurowski, 我使用休息API執行搜索https://api.test.sabre.com/InstaFlights搜索 我收到搜索結果的價格,我想預訂一個特定的航班,我從上述休息中收到呼叫,然後我執行下面的 SessionCreateRQ(創建會話令牌)得到會話令牌 EnhancedAirBookRQ(這包含2部分OTA_AirBookRQ和OTA_AirPriceRQ)可以省略OTA_AirPriceRQ,因爲我已經知道價格並去PassengerDetailsRQ然後AirTicketRQ?請諮詢 –
不可以,因爲您需要OTA_AirPriceRq才能在AAA中存儲定價細節(PriceRequestInformation節點中的'Retain =「true」標誌 - ,請瀏覽https://developer.sabre.com/docs/read/ soap_apis /空氣/電子書/ price_air_itinerary) – djaszczurowski