Sabre web services : Delete passenger from PNR

文章推薦指數: 80 %
投票人數:10人

This works for me : GetReservation; TravelItineraryModifyInfoRQ (delete passenger); HostCommand ",{new number in party}"; EndTransaction. Home Public Questions Tags Users Companies Collectives ExploreCollectives Teams StackOverflowforTeams –Startcollaboratingandsharingorganizationalknowledge. CreateafreeTeam WhyTeams? Teams CreatefreeTeam Collectives™onStackOverflow Findcentralized,trustedcontentandcollaboratearoundthetechnologiesyouusemost. LearnmoreaboutCollectives Teams Q&Aforwork Connectandshareknowledgewithinasinglelocationthatisstructuredandeasytosearch. LearnmoreaboutTeams Sabrewebservices:DeletepassengerfromPNR AskQuestion Asked 2years,5monthsago Modified 2years,5monthsago Viewed 583times 0 I'mtryingtodeleteapassengerfromPNRusingSabrewebservices WhatIdidisthefollowing CreatePNR(1flightsegment2passengers) GetReservation TravelItineraryModifyInfoRQ(deletepassenger) EndTransaction EndTransactionshowsanerrorNUMBEROFNAMESNOTEQUALTORESERVATIONS CreatePNR(1flightsegment2passengers) GetReservation TravelItineraryModifyInfoRQ(deletepassenger) OTA_CancelRQ(cancelflight) Bookthesameflight,butfor1passenger EndTransaction EndTransactionshowsanerrorTOREDUCENUMBERINPARTYENTERCOMMAFOLLOWEDBYNEWNUMBER AsIunderstandtheerrorsayshowtodeletepassengerusingSabreinteract,notwebservices sabre Share Follow askedApr13,2020at7:11 IlliaIllia 11177bronzebadges 5 1 Forsample1,youneedtoreducethenumberofconfirmedspacesintheitinerary.Forexampleifyoustartwith2passengers,eachsegmentintheitinerarywillbeHK2.ItneedstobeHK1ifyouarereducingto1passengerinthePNR.I'minmiddleofresearchingifthereisanAPIforthat,otherwiseyoucanusethehostcommandtosend",1".IwillresearchalittlemoreandseeifthereisabetterAPIforthat.Inyoursecondexample,youneedtoEndTransactionafterstep4,thenstartanewPNRwith1passenger. – AndyK Apr13,2020at20:28 @AndyKthanksforyouranswer,IalsofoundthehostcommandtosendusingSabreCommandservice. – Illia Apr14,2020at7:02 UpdateReservationAPIisalsocontainsfieldsforPassengersandNumberInParty,butitdoesn'tworkforme – Illia Apr14,2020at7:29 ChangeNbrInPartyshouldwork.Youneedtodeletethepassengerasyoudidoriginally,then1(Donotsendsegment),endTransaction.Ifyougetanerror,pleasepostandwecantrytogofromthere – AndyK Apr14,2020at19:38 1 ThemessageIhaveinthiscaseisUPDATERESERVATIONPROCESSINGERRORSoitseemsIwillusehostcommand. – Illia Apr15,2020at6:28 Addacomment  |  1Answer 1 Sortedby: Resettodefault Highestscore(default) Trending(recentvotescountmore) Datemodified(newestfirst) Datecreated(oldestfirst) 1 Thisworksforme: GetReservation TravelItineraryModifyInfoRQ(deletepassenger) HostCommand",{newnumberinparty}" EndTransaction Share Follow editedApr24,2020at6:15 answeredApr21,2020at8:16 IlliaIllia 11177bronzebadges 1 Youshouldn'thavetouseOTA_CancelRQ.Youshouldbeabletoleavethecurrentsegmentsinwiththisworkflow.Unlessyoudonotwant,orarechanging,theexistingreservation – AndyK Apr23,2020at17:18 Addacomment  |  YourAnswer ThanksforcontributingananswertoStackOverflow!Pleasebesuretoanswerthequestion.Providedetailsandshareyourresearch!Butavoid…Askingforhelp,clarification,orrespondingtootheranswers.Makingstatementsbasedonopinion;backthemupwithreferencesorpersonalexperience.Tolearnmore,seeourtipsonwritinggreatanswers. Draftsaved Draftdiscarded Signuporlogin SignupusingGoogle SignupusingFacebook SignupusingEmailandPassword Submit Postasaguest Name Email Required,butnevershown PostYourAnswer Discard Byclicking“PostYourAnswer”,youagreetoourtermsofservice,privacypolicyandcookiepolicy Nottheansweryou'relookingfor?Browseotherquestionstaggedsabreoraskyourownquestion. TheOverflowBlog StackOverflowtrends:Weekdayvsweekendsiteactivity Fordevelopers,flowstatestartswithyourfingertips  FeaturedonMeta RecentColorContrastChangesandAccessibilityUpdates Revieweroverboard!Orarequesttoimprovetheonboardingguidancefornew... ShouldIexplainotherpeople'scode-onlyanswers? CollectivesUpdate:RecognizedMembers,Articles,andGitLab Related 1 HowtocreatePNRonSABREwithpassengerdetails 0 SabreCreateEmptyPNR 1 IssueticketfromSabreAPI 0 CreatePnrPassengerDetailsRQnotworkingsabre 0 SABREPassengerDetailsPNRwithoutaPNR 2 Sabreairsearchandbookflow 0 Sabre-"EndTransactionLLSRQ:NEEDCUSTOMERNUMBER-USEDK" 1 CreatePNRSABRE 2 SABRE:CreatePNRAPIError:ERR.SP.PROVIDER_ERROR HotNetworkQuestions HowtotypeŬ(Uwithbreve)? Unarmedstrikewithbrassknuckles,gauntlets,orbarefists Howtorenamemultiplefileswiththetimecreated? Whatarethethreeorfourholesonthebackofa3.5inchfloppydiskindicatingandusedfor? Istherealist/databaseofChinesemathematicalterms(forcomplexmath)? Howtorenameafilethatcontainsspacesinterminal? WhydoesScarecrowinTheWizardOfOzgetthePythagoreanTheoremwrong? HowdoIunlockaMathematicaNotebook? Didtheringwraithsdevelopabettersenseofsmellandifso,why? It'sJustRocketScience Isthereanymonsterwithstatblockchangesduringanencounter? Cutalongthelines DoIneedtopresentaGDPRbannertoIPaddressesoutsideofGDPRregions? IsaCosigneronaleasedvehicleresponsiblefordamages? ReasonstodistrustLet'sEncryptcertificates IsitpossibleforafairlylargecommunitytoremainhiddeninScandinaviauntilthestartofthe20thcentury? Indo-Europeanlanguagesthathaveinnovatedanominative-accusativedistinctionforneuternouns Novelfeaturinganosmiaandprotagonistwithamissingarm Amandrivesthelastgasguzzlercar...buthehasasecret CanIworkremotelyforanon-SingaporeemployerwhilevisitingSingapore? InEarlyModernEnglish,arethereexamplesofthe"a-+gerund"progressiveconstructionwherethegerundbeginswithavowel? Accessingofficeserverremotely Is"p"everusedtoabbreviatepiinformulas? Mygovernment(China)cancelledmypassport.I'minMalaysia,whatcanIdo? morehotquestions Questionfeed SubscribetoRSS Questionfeed TosubscribetothisRSSfeed,copyandpastethisURLintoyourRSSreader. Yourprivacy Byclicking“Acceptallcookies”,youagreeStackExchangecanstorecookiesonyourdeviceanddiscloseinformationinaccordancewithourCookiePolicy. Acceptallcookies Customizesettings  



請為這篇文章評分?