当我尝试从 Saber 调用 API EndTransactionRQ 时,请遵循以下 RQ:
<EndTransactionRQ > <EndTransaction Ind="true"> <Email Ind="true"> <eTicket Ind="true"> <PDF Ind="true"/> </eTicket> <PersonName NameNumber="1.1"/> </Email> <Retrieve Ind="true"/> </EndTransaction> <Source ReceivedFrom="HPL Agency"/> </EndTransactionRQ>
总是弹出错误:
<EndTransactionRS > <stl:ApplicationResults status="NotProcessed"> <stl:Error type="BusinessLogic" timeStamp="2023-07-05T11:33:53+00:00"> <stl:SystemSpecificResults> <stl:Message>ITINERARY REQUIRED TO COMPLETE TRANSACTION</stl:Message> <stl:ShortText>ERR.SWS.HOST.ERROR_IN_RESPONSE</stl:ShortText> </stl:SystemSpecificResults> </stl:Error> </stl:ApplicationResults> </EndTransactionRS>
但是当我尝试在没有电子票声明的情况下请求结束时,它返回成功,但无法再向客户发送电子邮件:
成功预约:
<EndTransactionRQ Version="2.2.0" 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"> <EndTransaction Ind="true"> <Email Ind="true"> <PersonName NameNumber="1.1"/> </Email> <Retrieve Ind="true"/> </EndTransaction> <Source ReceivedFrom="HPL Agency"/> </EndTransactionRQ>
sabre的回应:
<EndTransactionRS > <stl:ApplicationResults status="Complete"> <stl:Success timeStamp="2023-07-05T11:54:26+00:00"/> </stl:ApplicationResults> <ItineraryRef ID="KHRXQO"> <Source CreateDateTime="2023-07-04T22:12"/> </ItineraryRef> <Text>KHRXQO</Text> <Text>1.1NGUYEN/TRUNG 2.1NGUYEN/NGHIA</Text> <Text>1 VN 206E 18JUL T SGNHAN HK2 0600 0810 HRS /E</Text> <Text>2 OTH VN 18JUL T PN2 SGN/TEST</Text> <Text>3 VN 205E 21JUL F HANSGN HK2 0500 0715 HRS /E</Text> <Text>TKT/TIME LIMIT</Text> <Text>1.TAWLRP05JUL009/2300/</Text> <Text>PHONES</Text> <Text>1.LRPVN0963866560-H-1.1</Text> <Text>ANCILLARY EXISTS *AE TO DISPLAY</Text> <Text>PASSENGER EMAIL DATA EXISTS *PE TO DISPLAY ALL</Text> <Text>PRICE QUOTE RECORD EXISTS - *PQS</Text> <Text>PROFILE INDEX DATA EXISTS *PI TO DISPLAY ALL</Text> <Text>SEATS/BOARDING PASS</Text> <Text>1 VN 206E 18JUL SGNHAN HK 23A NW P 1.1 NGUYEN/TRUNG</Text> <Text>1 VN 206E 18JUL SGNHAN HK 23B N P 2.1 NGUYEN/NGHIA</Text> <Text>3 VN 205E 21JUL HANSGN HK 23A NW P 1.1 NGUYEN/TRUNG</Text> <Text>3 VN 205E 21JUL HANSGN HK 23B N P 2.1 NGUYEN/NGHIA</Text> <Text>VN FACTS</Text> <Text>1.SSR DOCS VN HK1/DB/15JAN1995/M/NGUYEN/TRUNG</Text> <Text>2.SSR DOCS VN HK1/DB/10JAN2009/M/NGUYEN/NGHIA</Text> <Text>3.OSI AGENCY BOOKING - DO NOT DELETE</Text> <Text>4.SSR OTHS /ADV TKT BY 05JUL23 2212HANVN OR WL BE CXLD</Text> <Text>RECEIVED FROM - HPL AGENCY</Text> <Text>OAC - VN LRP GS 3798158</Text> <Text>LRP-LRP-GS.LRP4A67 2212/04JUL23 KHRXQO H</Text> </EndTransactionRS>
我陷入了这种情况,无法消除此错误,请帮我解决问题:(
请问如何解决您的问题