首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >加行程备注刀

加行程备注刀
EN

Stack Overflow用户
提问于 2017-07-27 13:23:53
回答 2查看 413关注 0票数 0

当我发送时,在sabre航班API请求中添加行程说明,这是通过错误(业务逻辑错误)。请推荐我

代码语言:javascript
复制
 <?xml version='1.0' encoding='utf-8'?>
 <soap-env:Envelope xmlns:soap-env='http://schemas.xmlsoap.org/soap/envelope/'>
     <soap-env:Header>
         <eb:MessageHeader xmlns:eb='http://www.ebxml.org/namespaces/messageHeader'>
             <eb:From>
                 <eb:PartyId eb:type='urn:x12.org.IO5:01'>sabre@example.com</eb:PartyId>
             </eb:From>
             <eb:To>
                 <eb:PartyId eb:type='urn:x12.org.IO5:01'>webservices.sabre.com</eb:PartyId>
             </eb:To>
             <eb:ConversationId>1500986572sabre@example.com</eb:ConversationId>
             <eb:Service eb:type='OTA'>Air</eb:Service>
             <eb:Action>AddRemarkLLSRQ</eb:Action>
             <eb:CPAID>IPCC</eb:CPAID>
             <eb:MessageData>
                 <eb:MessageId>mid:1500986572sabre@example.com</eb:MessageId>
                 <eb:Timestamp>2017-07-25T12-42-52Z</eb:Timestamp>
                 <eb:TimeToLive>2017-07-25T12-42-52Z</eb:TimeToLive>
             </eb:MessageData>
         </eb:MessageHeader>
         <wsse:Security xmlns:wsse='http://schemas.xmlsoap.org/ws/2002/12/secext'>
             <wsse:UsernameToken>
                 <wsse:Username>USER</wsse:Username>
                 <wsse:Password>PASS</wsse:Password>
                 <Organization>IPCC</Organization>
                 <Domain>Default</Domain>
             </wsse:UsernameToken>
             <wsse:BinarySecurityToken>Shared/IDL:IceSess\/SessMgr:1\.0.IDL/Common/!ICESMS\/ACPCRTC!ICESMSLB\/CRT.LB!-3250684970584119419!1379810!0</wsse:BinarySecurityToken>
         </wsse:Security>
     </soap-env:Header>
     <soap-env:Body>
         <AddRemarkRQ xmlns='http://webservices.sabre.com/sabreXML/2011/10' xmlns:xs='http://www.w3.org/2001/XMLSchema' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' ReturnHostCommand='false' Version='2.1.0'>
             <RemarkInfo>
                 <FOP_Remark>
                     <CC_Info>
                         <PaymentCard Code="VI" ExpireDate="2022-3" Number="4111111111111111" />
                     </CC_Info>
                 </FOP_Remark>
                 <Remark Type="General">
                     <Text>Swadesh Dash,nandan@gmail.com,8989852356</Text>
                 </Remark>
                 <Remark Type="Client Address">
                     <Text>Swadesh Dash,8989852356, nandan@gmail.com</Text>
                 </Remark>
             </RemarkInfo>
         </AddRemarkRQ>
     </soap-env:Body>
 </soap-env:Envelope>
EN

回答 2

Stack Overflow用户

发布于 2017-08-01 13:22:17

会帮助你知道你的业务错误是什么,但我明白:

  • ExpireDate="2022-3" --我想它不以3为月份,它应该是03
  • 在另外两个备注中,@符号很可能是备注中不支持的字符。

若要获得更好的响应,请张贴业务错误。

票数 0
EN

Stack Overflow用户

发布于 2018-08-21 09:38:28

我只能得到一个可能的原因,那就是“特殊字符不允许由Sabre”和你已经使用了@在备注。

不允许使用的特殊字符是@、$、%、&、(、)、<、>、?、=、+、;、Σ、_‘等。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/45352130

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档