Открыть главное меню

Чтение тарифных правил

Чтение тарифных правил - это запрос, который отправляется после того, как пользователь на результатах поиска выбрал перелет и нажал «Забронировать». При помощи него Nemo получает информацию от поставщика о возвратности/невозвратности тарифов, а так же иную полезную информацию, которая доступна пользователю на странице подтверждения бронировании по клику на названии тарифного правила.

WSDL: http://sys.nemo-ibe.com/nemoflights/wsdl.php?for=GetAirRules


Пример запроса и ответа

REQUEST

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ver="http://tst.nemo-ibe.com/nemoflights/?version%3D1.0%26for%3DVoidTicket">
   <soapenv:Header/>
   <soapenv:Body>
      <ver:GetAirRules>
         <RequestBin>
            <Request>
				<!--Запрос, обязательный-->
				<GetAirRules>
					<!--FlightId ид перелёта в системе Немо, обязательный-->
					<FlightId>531846</FlightId>
				</GetAirRules>
			</Request>
			<!--Авторизация, обязательный-->
			<!--@ClientId, идентификатор клиента, обязательный-->
			<!--@APIKey, API ключ клиента, обязательный-->
			<!--@Language, код языка, обязательный-->
			<!--@Currency код валюты, обязательный-->
            <Source>
               <ClientId>102</ClientId>
               <APIKey>7F48365D42B73307C99C12A578E92B36</APIKey>
               <Language>RU</Language>
               <Currency>RUB</Currency>
            </Source>
         </RequestBin>
      </ver:GetAirRules>
   </soapenv:Body>
</soapenv:Envelope>

RESPONSE

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ver="http://tst.nemo-ibe.com/nemoflights/?version%3D1.0%26for%3DVoidTicket">
   <soapenv:Header/>
   <soapenv:Body>
      <ver:GetAirRules>
         <ResponseBin>	
            <Response>
				<!--Запрос, обязательный-->
				<GetAirRules>
				<!--FlightId ид перелёта в системе Немо, обязательный-->
				<FlightId>531846</FlightId>
					<!--Rules Правила перелета, обязательный-->
					<Rules>
						<!--@Code код правила, обязательный-->
						<!--@Tarrif название тарифа, обязательный-->
						<!--@Name название правила, обязательный-->
						<Rule Code="6" Tarrif="VSSOW" Name="MINIMUM STAY">
						<!--Текст правила, обязательный-->
							<RuleText>No Minimum Stay</RuleText>
						</Rule>
						<Rule Code="7" Tarrif="VSSOW" Name="MAXIMUM STAY">
							<RuleText>No Maximum Stay</RuleText>
						</Rule>
						<Rule Code="5" Tarrif="VSSOW" Name="ADVANCE RESERVATIONS/TICKETING">
							<RuleText>Advanced reservations anytime Advanced ticketing departure time - 0  Advanced ticketing reservation time - 24 hours</RuleText>
						</Rule>
						<Rule Code="2" Tarrif="VSSOW" Name="DAY/TIME">
							<RuleText>Most restrictive ticketing date 20110524</RuleText>
						</Rule>
						<Rule Code="12" Tarrif="VSSOW" Name="SURCHARGES">
							<RuleText>No surcharges</RuleText>
						</Rule>
						<Rule Code="16" Tarrif="VSSOW" Name="PENALTIES">
							<RuleText>Condition: If Itinerary is changed requiring reissue of ticket. Amount -  Condition: If canceled. Amount -</RuleText>
						</Rule>
						<Rule Code="0" Tarrif="VSSOW" Name="APPLICATION AND OTHER CONDITIONS">
							<RuleText>Application and other conditions  
			rule - 304/ut23                                                
			unless otherwise specified                                     
			one way instant purchase fare                                  
			 application                                                   
			   area                                                        
				 these fares apply                                         
				 within russia.                                            
			   class of service                                            
				 these fares apply for economy class service.              
			   types of transportation                                     
				 this rule governs one-way fares.                          
				 fares governed by this rule can be used to create         
				 one-way journeys.                                         
			 capacity limitations                                          
			   the carrier shall limit the number of passengers carried    
			   on any one flight at fares governed by this rule and such   
			   fares will not necessarily be available on all flights.     
			   the number of seats which the carrier shall make            
			   available on a given flight will be determined by the       
			   carriers best judgment
							</RuleText>
						</Rule>
						<Rule Code="4" Tarrif="VSSOW" Name="FLIGHT APPLICATION">
							<RuleText>Flight application                                         
			unless otherwise specified                                     
			  the fare component must be on                                
				  one or more of the following                             
					any ut flight.</RuleText>
						</Rule>
						<Rule Code="5" Tarrif="VSSOW" Name="ADVANCE RES/TICKETING">
							<RuleText>Advance res/ticketing                                      
			unless otherwise specified                                     
			  reservations are required for all sectors.                   
			  ticketing must be completed within 24 hours after            
			  reservations are made.</RuleText>
						</Rule>
						<Rule Code="8" Tarrif="VSSOW" Name="STOPOVERS">
							<RuleText>Stopovers                                                  
			unless otherwise specified                                     
			  unlimited stopovers permitted.</RuleText>
						</Rule>
						<Rule Code="9" Tarrif="VSSOW" Name="TRANSFERS">
							<RuleText>Transfers                                                  
			unless otherwise specified                                     
			  unlimited transfers permitted on the pricing unit            
				fare break and embedded surface sectors permitted on the   
				 fare component.
							</RuleText>
						</Rule>
						<Rule Code="10" Tarrif="VSSOW" Name="PERMITTED COMBINATIONS">
							<RuleText>Permitted combinations                                     
			unless otherwise specified                                     
			   single/double open jaws/round trips/circle trips not        
			   permitted.                                                  
			   add-ons not permitted.                                      
			  end-on-end                                                   
				end-on-end combinations permitted with ut fares.           
				validate all fare components.                              
			   provided -                                                  
				 combinations are with any one way fare for carrier ut.</RuleText>
						</Rule>
						<Rule Code="15" Tarrif="VSSOW" Name="SALES RESTRICTIONS">
							<RuleText>Sales restrictions                                         
			unless otherwise specified                                     
			  tickets must be issued on ut.
							</RuleText>
						</Rule>
						<Rule Code="16" Tarrif="VSSOW" Name="PENALTIES">
							<RuleText>Penalties                                                  
			unless otherwise specified                                     
			  cancellations                                                
				cancellations permitted for cancel/no-show/refund.         
					 note -                                                
					  -full refund if ticket is presented for the refund   
					  more than 24hrs before departure time shown on the   
					  flight coupon.                                       
					  -refund the fare paid less 25 percent if ticket is   
					  presented for the refund less than 24hrs before      
					  departure time shown on the flight coupon or after   
					  departure time shown on the flight coupon/no-show/   
					  ---------------------                                
					  refund of unused fees and taxes permitted            
					  ---------------------                                
					  penalties waived in case of involuntary refund       
					  ---------------------                                
					  refund permitted at any time within one year from    
					  the day of original ticket issue.                    
			  changes                                                      
				changes permitted.                                         
					 note -                                                
					  permitted upon payment to any higher applicable      
					  ow fare. the difference in fares has to be           
					  collected.                                           
					  ----------------                                     
					  changes permitted if the ticket is presented for     
					  the change within 1 month from the date of           
					  departure shown on the original flight coupon.       
			  involuntary changes                                          
				involuntary changes permitted.
							</RuleText>
						</Rule>
						<Rule Code="17" Tarrif="VSSOW" Name="HIP/MILEAGE EXCEPTIONS">
							<RuleText>Hip/mileage exceptions                                     
			unless otherwise specified                                     
					 note -                                                
					  higher intermediate rule applies.                    
			unless otherwise specified                                     
					 note -                                                
					  higher intermediate rule applies.
							</RuleText>
						</Rule>
						<Rule Code="19" Tarrif="VSSOW" Name="CHILDREN DISCOUNTS">
							<RuleText>Children discounts                                         
			within russia
							</RuleText>
						</Rule>
						<Rule Code="6" Tarrif="VSSOW" Name="PENALTIES">
							<RuleText>Penalties                                                  
			unless otherwise specified                                     
			  cancellations                                                
				cancellations permitted for cancel/no-show/refund.         
					 note -                                                
					  -full refund if ticket is presented for the refund   
					  more than 24hrs before departure time shown on the   
					  flight coupon.                                       
					  -refund the fare paid less 25 percent if ticket is   
					  presented for the refund less than 24hrs before      
					  departure time shown on the flight coupon or after   
					  departure time shown on the flight coupon/no-show/   
					  ---------------------                                
					  refund of unused fees and taxes permitted            
					  ---------------------                                
					  penalties waived in case of involuntary refund       
					  ---------------------                                
					  refund permitted at any time within one year from    
					  the day of original ticket issue.                    
			  changes                                                      
				changes permitted.                                         
					 note -                                                
					  permitted upon payment to any higher applicable      
					  ow fare. the difference in fares has to be           
					  collected.                                           
					  ----------------                                     
					  changes permitted if the ticket is presented for     
					  the change within 1 month from the date of           
					  departure shown on the original flight coupon.       
			  involuntary changes                                          
				involuntary changes permitted.                             
			17. hip/mileage exceptions                                     
			unless otherwise specified                                     
					 note -                                                
					  higher intermediate rule applies.                    
			unless otherwise specified                                     
					 note -                                                
					  higher intermediate rule applies.                    
			19. children discounts                                         
			within russia                                                  
			  accompanied child 2-11 - charge 67 percent of the fare.      
					ticket designator - cn and percent of discount.        
					 note -                                                
					  discount applies if the number of children is 6      
					  or less                                              
					  -----------------------------------------------      
					  unaccompanied children not permitted                 
			  or - 1st and each additional group child 2-11 - charge 95    
					 percent of the fare.                                  
						 ticket designator - cn and percent of discount.   
					 note -                                                
					  discount applies if the number of children in the    
					  group is more than 6. group required to travel       
					  together for the entire pricing unit.                
					  -------------                                        
					  unaccompanied children not permitted                 
			  or - 1st infant under 2 without a seat - no charge           
						 ticket designator - in and percent of discount    
			  or - 2nd and each additional infant under 2 without a        
					 seat- charge 67 percent of the fare.                  
						 ticket designator - cn and percent of discount    
			  or - infant under 2 with a seat - charge 67 percent of the   
					 fare.                                                 
						 ticket designator - cn and percent of discount.   
					 note -                                                
					  unaccompanied infants not permitted
								</RuleText>
							</Rule>
							<Rule Code="20" Tarrif="VSSOW" Name="TOUR CONDUCTOR DISCOUNTS">
								<RuleText>Tour conductor discounts                                   
			unless otherwise specified                                     
					 note -                                                
					  tour conductor discounts not permitted.
								</RuleText>
							</Rule>
							<Rule Code="21" Tarrif="VSSOW" Name="AGENT DISCOUNTS">
								<RuleText>Agent discounts                                            
			unless otherwise specified                                     
					 note -                                                
					  agent discounts not permitted.
								</RuleText>
							</Rule>
							<Rule Code="22" Tarrif="VSSOW" Name="ALL OTHER DISCOUNTS">
								<RuleText>All other discounts                                        
			unless otherwise specified                                     
					 note -                                                
					  not permitted.
								</RuleText>
							</Rule>
						</Rules>
					</GetAirRules>
			</Response>
			<!--Авторизация, обязательный-->
			<!--@ClientId, идентификатор клиента, обязательный-->
			<!--@APIKey, API ключ клиента, обязательный-->
			<!--@Language, код языка, обязательный-->
			<!--@Currency код валюты, обязательный-->
            <Source>
               <ClientId>102</ClientId>
               <APIKey>7F48365D42B73307C99C12A578E92B36</APIKey>
               <Language>RU</Language>
               <Currency>RUB</Currency>
            </Source>
         </ResponseBin>
      </ver:AirAvail>
   </soapenv:Body>
</soapenv:Envelope>

См. также

'