Ejemplo n.º 1
0
        public TravelItineraryReadRS ReadInfo(string securityToken, string pnrIdentifier = null)
        {
            TravelItineraryReadRQ tirq = new TravelItineraryReadRQ();
            //tirq.Version = "3.6.0";
            tirq.MessagingDetails = new TravelItineraryReadRQMessagingDetails();
            tirq.MessagingDetails.SubjectAreas = new string[] { "FULL" };
            if (pnrIdentifier != null)
            {
                tirq.UniqueID = new TravelItineraryReadRQUniqueID();
                tirq.UniqueID.ID = pnrIdentifier;
            }

            TravelItineraryReadService trs = new TravelItineraryReadService();
            trs.Security = this.CreateSecurityDto(securityToken);
            trs.MessageHeaderValue = this.CreateMessageHeader();
            var t = Utility.Serialize<TravelItineraryReadRQ>(tirq);
            return trs.TravelItineraryReadRQ(tirq);
        }
Ejemplo n.º 2
0
 /// <remarks/>
 public void TravelItineraryReadRQAsync(TravelItineraryReadRQ TravelItineraryReadRQ1, object userState) {
     if ((this.TravelItineraryReadRQOperationCompleted == null)) {
         this.TravelItineraryReadRQOperationCompleted = new System.Threading.SendOrPostCallback(this.OnTravelItineraryReadRQOperationCompleted);
     }
     this.InvokeAsync("TravelItineraryReadRQ", new object[] {
                 TravelItineraryReadRQ1}, this.TravelItineraryReadRQOperationCompleted, userState);
 }
Ejemplo n.º 3
0
 /// <remarks/>
 public void TravelItineraryReadRQAsync(TravelItineraryReadRQ TravelItineraryReadRQ1) {
     this.TravelItineraryReadRQAsync(TravelItineraryReadRQ1, null);
 }