Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
  • Восстановлено оформление бронирований с ARNK сегментом в маршруте

  • Восстановлено оформление бронирования с использованием ВПД МВД
    ВПД МВД scenario | v0.52 | 1ADT+1CHD+1INF+OW

  • Скорректировано значение PaymentTimeLimit в ответе операций Read / Book 
    Тайм-лимит бронирования возвращается в локальной таймзоне офиса, под которым создано бронирование

  • Добавлен параметр AugPoint в ответе операций Read / Book для отражения города офиса, создавшего бронирование 
    Локация, под которой создано бронирование указана в узле OrderViewRS/Response/Metadata/Other/OtherMetadata/CountryMetadatas/CountryMetadata/AugmentationPoint/AugPoint
    Owner="OVB"

    Code Block
    languagexml
                   <ns3:Metadata>
                        <ns3:Other>
                            <ns3:OtherMetadata>
                                <ns3:CountryMetadatas>
                                    <ns3:CountryMetadata>
                                        <ns3:AugmentationPoint>
                                            <ns3:AugPoint Owner="OVB"/>
                                        </ns3:AugmentationPoint>
                                    </ns3:CountryMetadata>
                                </ns3:CountryMetadatas>
                            </ns3:OtherMetadata>
                        </ns3:Other>
                    </ns3:Metadata>


    Пример чтения тестового бронирования на QA стенде под офисом S7AGN8224:

Expand


Code Block
languagexml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:Envelope xmlns:ns2="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns3="http://www.iata.org/IATA/EDIST">
    <ns2:Body>
        <ns3:OrderViewRS Version="">
            <ns3:Document>
                <ns3:Name>1.0</ns3:Name>
            </ns3:Document>
            <ns3:Success/>
            <ns3:Response>
                <ns3:OrderViewProcessing/>
                <ns3:Passengers>
                    <ns3:Passenger ObjectKey="SH4">
                        <ns3:PTC Quantity="1">ADT</ns3:PTC>
                        <ns3:Age>
                            <ns3:BirthDate>1969-05-03</ns3:BirthDate>
                        </ns3:Age>
                        <ns3:Name>
   

...

Expand
Code Block
languagexml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:Envelope xmlns:ns2="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns3="http://www.iata.org/IATA/EDIST">
    <ns2:Body>
        <ns3:AirDocDisplayRS Version="">
                 <ns3:Surname>KIM</ns3:Document>Surname>
                            <ns3:Name>1.0<Given>CHARLES</ns3:Name>
Given>
                     <       <ns3:Title>MR</ns3:Document>Title>
                <ns3:Success/>
            <ns3:Response>
Middle/>
                        <ns3</ns3:TicketDocInfos>Name>
                        <ns3:TicketDocInfo>Contacts>
                            <ns3:Traveler>Contact>
                                <ns3:Surname>TEST</ns3:Surname>
EmailContact>
                                    <ns3:Given>TEST<Address>u.arefina@s7.ru</ns3:Given>Address>
                                <ns3:PTC>ADT<</ns3:PTC>EmailContact>
                         </ns3:Traveler>
       <ns3:PhoneContact>
                 <ns3:IssuingAirlineInfo>
                   <ns3:Number CountryCode="7">9999999999</ns3:Number>
        <ns3:AirlineName>S7</ns3:AirlineName>
                        </ns3:IssuingAirlineInfo>PhoneContact>
                        <ns3:BookingReferences>
    </ns3:Contact>
                        <ns3</ns3:BookingReference>
        Contacts>
                        <ns3:ID>LBHRSW<Gender>Male</ns3:ID>Gender>
                        <ns3:PassengerIDInfo>
        <ns3:AirlineID>S7</ns3:AirlineID>
                    <ns3:PassengerDocument>
        </ns3:BookingReference>
                        <<ns3:Type>PP</ns3:BookingReferences>Type>
                                <ns3:ID>1111111111</ns3:Payments>ID>
                                <ns3:BirthCountry>RU</ns3:Payment>BirthCountry>
                                <ns3:Method/>DateOfExpiration>2023-10-22</ns3:DateOfExpiration>
                                <ns3:Amount Code="RUB">109346.00<CountryOfResidence>RU</ns3:Amount>CountryOfResidence>
                            </ns3:Payment>PassengerDocument>
                        </ns3:Payments>PassengerIDInfo>
                    </ns3:Passenger>
    <ns3:OriginDestination>
            </ns3:Passengers>
                <ns3:Origin>DME</ns3:Origin>
        Order>
                    <ns3:Destination>OVB<OrderID Owner="S7">1</ns3:Destination>OrderID>
                        </ns3:OriginDestination><ns3:BookingReferences>
                        <ns3:FareInfo>BookingReference>
                            <ns3:ID>LH17OL</ns3:BaseFare>ID>
                                <ns3:Amount Code="RUB">58850.00<AirlineID>S7</ns3:Amount>AirlineID>
                            </ns3:BaseFare>BookingReference>
                    </ns3:BookingReferences>
           <ns3:EquivFare>
         <ns3:TimeLimits>
                        <ns3:AmountPaymentTimeLimit CodeDateTime="RUB">58850.00</ns3:Amount>
2023-02-14T11:24:00"/>
                    </ns3:TimeLimits>
              </ns3:EquivFare>
      <ns3:OrderItems>
                        <ns3:Total>OrderItem>
                            <ns3:FlightItem>
    <ns3:Amount Code="RUB">59164.00</ns3:Amount>
                            </ns3<ns3:Total>OriginDestination>
                            <ns3:Taxes>
        <ns3:Flight>
                        <ns3:Total Code="RUB">314.00</ns3:Total>
               <ns3:SegmentKey>FL1</ns3:SegmentKey>
                 <ns3:Breakdown>
                       <ns3:Status>
             <ns3:Tax>
                                <ns3:StatusCode>
        <ns3:Amount Code="RUB">134.00</ns3:Amount>
                                        <ns3:TaxCode>RI<Code>HK</ns3:TaxCode>Code>
                                            </ns3:Tax>
StatusCode>
                                        <ns3</ns3:Tax>Status>
                                        <ns3:Amount Code="RUB">180.00</ns3:Amount>
Departure>
                                            <ns3:TaxCode>RI<AirportCode>DME</ns3:TaxCode>AirportCode>
                                       <     <ns3:Date>2023-02-14</ns3:Tax>Date>
                                </ns3:Breakdown>
            <ns3:Time>08:25</ns3:Time>
                </ns3:Taxes>
                            <ns3</ns3:UnstructuredFareCalcInfo>Departure>
                                <ns3:Info>MOW S7 OVB58850RUB58850END</ns3:Info>
        <ns3:Arrival>
                    </ns3:UnstructuredFareCalcInfo>
                        <<ns3:AirportCode>AER</ns3:FareInfo>AirportCode>
                        <ns3:TicketDocument>
                    <ns3:Date>2023-03-25</ns3:Date>
        <ns3:TicketDocNbr>4212150054605</ns3:TicketDocNbr>
                            <ns3:Type>
        <ns3:Time>12:15</ns3:Time>
                        <ns3:Code>702</ns3:Code>
                </ns3:Arrival>
            </ns3:Type>
                            <ns3:NumberofBooklets>1</ns3:NumberofBooklets>MarketingCarrier>
                            <ns3:DateOfIssue>2022-12-05</ns3:DateOfIssue>
                 <ns3:AirlineID>S7</ns3:AirlineID>
            <ns3:CouponInfo>
                                <ns3:CouponNumber>1<FlightNumber>2043</ns3:CouponNumber>FlightNumber>
                                <ns3:FareBasisCode>
        </ns3:MarketingCarrier>
                            <ns3:Code>YBSOW</ns3:Code>
            <ns3:OperatingCarrier>
                    </ns3:FareBasisCode>
                        <ns3:AirlineID>S7</ns3:AirlineID>
        <ns3:CouponValid>
                                    <ns3:EffectiveDatePeriod>FlightNumber>2043</ns3:FlightNumber>
                                        <ns3:Expiration>2023-12-05<</ns3:Expiration>OperatingCarrier>
                                        </ns3<ns3:EffectiveDatePeriod>CabinType>
                                 </ns3:CouponValid>
           <ns3:Code>Y</ns3:Code>
                      <ns3:Status>
                  </ns3:CabinType>
                  <ns3:Code>OPEN FOR USE</ns3:Code>
                    <ns3:ClassOfService>
            </ns3:Status>
                                <ns3:SoldAirlineInfo>Code>O</ns3:Code>
                                    <ns3:Departure>
    </ns3:ClassOfService>
                                    <ns3:AirportCode>DME<</ns3:AirportCode>Flight>
                                </ns3:OriginDestination>
                <ns3:Date>2023-01-11</ns3:Date>
            </ns3:FlightItem>
                            <ns3:Time>21:05</ns3:Time>Associations>
                                    </ns3:Departure><ns3:Passengers>
                                    <ns3:Arrival>
PassengerReferences>SH4</ns3:PassengerReferences>
                                </ns3:Passengers>
            <ns3:AirportCode>OVB</ns3:AirportCode>
                </ns3:Associations>
                        <ns3:Date>2023-01-12<</ns3:Date>OrderItem>
                    </ns3:OrderItems>
                    <ns3:Time>05:15<</ns3:Time>Order>
                <ns3:Metadata>
                    </ns3:Arrival>
<ns3:Other>
                        <ns3:OtherMetadata>
                  <ns3:OperatingCarrier>
          <ns3:CountryMetadatas>
                                <ns3:ResBookDesigCode>Y</ns3:ResBookDesigCode>CountryMetadata>
                                    </ns3<ns3:OperatingCarrier>AugmentationPoint>
                                    <ns3:MarketingCarrier>
    <ns3:AugPoint Owner="OVB"/>
                                   <ns3:AirlineID>S7< </ns3:AirlineID>AugmentationPoint>
                                        <ns3:FlightNumber>2511<</ns3:FlightNumber>CountryMetadata>
                            </ns3:CountryMetadatas>
        </ns3:MarketingCarrier>
                </ns3:OtherMetadata>
                    <ns3:TicketedBaggageAllowance>
</ns3:Other>
                </ns3:Metadata>
            </ns3:Response>
        </ns3:OrderViewRS>
    </ns2:Body>
</ns2:Envelope>



  • Доработано отображение ремарок в ответе операций Book/Read бронирования

    В блоке OrderViewRS/Response/OrderViewProcessing/Remarks/Remark возвращаются ремарки, внесенные в бронирования 

    Пример чтения тестового бронирования на QA стенде:
Expand


Code Block
languagexml
<?xml version="1.0" encoding="UTF-8"   <ns3:AllowableBag Type="PC" Number="0"/standalone="yes"?>
<ns2:Envelope xmlns:ns2="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns3="http://www.iata.org/IATA/EDIST">
    <ns2:Body>
                                </ns3:TicketedBaggageAllowance><ns3:OrderViewRS Version="">
            <ns3:Document>
                    <<ns3:Name>1.0</ns3:SoldAirlineInfo>Name>
            </ns3:Document>
            <ns3:Success/>
    </ns3:CouponInfo>
        <ns3:Response>
                </ns3<ns3:TicketDocument>OrderViewProcessing>
                        <ns3:Commission>Remarks>
                            <ns3:Amount>0<Remark>SPTR MVD</ns3:Amount>
Remark>
                    </ns3:Remarks>
                <ns3</ns3:Remarks>OrderViewProcessing>
                <ns3:Passengers>
                    <ns3:Remark>S7/NON-REF/CHNG/RESTR/BS</ns3:Remark>
       Passenger ObjectKey="SH4">
                         <ns3:Remark>INCL VAT 5378.55RUB<PTC Quantity="1">ADT</ns3:Remark>
       PTC>
                         <ns3:Remark>2022-12-05T18:07</ns3:Remark>Age>
                            <<ns3:BirthDate>1969-05-03</ns3:Remarks>BirthDate>
                        </ns3:Commission>Age>
                        <ns3:PassengerSpecificData>581289399</ns3:PassengerSpecificData>
       Name>
             </ns3:TicketDocInfo>
                <<ns3:Surname>XAVIER</ns3:TicketDocInfos>Surname>
             </ns3:Response>
        </ns3:AirDocDisplayRS>
    </ns2:Body>
</ns2:Envelope>

отображение ремарок в ответе создания/чтения бронирования

...

<?xml
Expand
Code Block
languagexml
 
version="1.0"
 
encoding="UTF-8" standalone="yes"?> <ns2:Envelope xmlns:ns2="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns3="http://www.iata.org/IATA/EDIST"
 <ns3:Given>CHARLES</ns3:Given>
                            <ns3:Title>MR</ns3:Title>
                            <ns3:Middle/>
    
<ns2:Body>
        
<ns3:OrderViewRS Version="">
            
<ns3
</ns3:
Document>
Name>
                        <ns3:
Name>1.0</ns3:Name>
Contacts>
                
</ns3:Document>
            <ns3:
Success/>
Contact>
            
<ns3:Response>
                    <ns3:
OrderViewProcessing/>
EmailContact>
                
<ns3:Passengers>
                    <ns3:
Passenger ObjectKey="SH4">
Address>y.komarova@s7.ru</ns3:Address>
                               
<ns3:PTC Quantity="1">ADT<
 </ns3:
PTC>
EmailContact>
                         
<ns3:Age>
       <ns3:PhoneContact>
                     
<ns3:BirthDate>1932-12-02</ns3:BirthDate>
               <ns3:Number CountryCode="7">9999999999</ns3:Number>
        
</ns3:Age>
                        
<ns3
</ns3:
Name>
PhoneContact>
                            
<ns3:Surname>TEST<
</ns3:
Surname>
Contact>
                        
<ns3:Given>TEST<
</ns3:
Given>
Contacts>
                        
<ns3:
Title>MRS<
Gender>Male</ns3:
Title>
Gender>
                        <ns3:PassengerIDInfo>
    
<ns3:Middle/>
                        
</ns3
<ns3:
Name>
PassengerDocument>
                                <ns3:Type>PP</ns3:
Contacts>
Type>
                                <ns3:
Contact>
ID>1111111111</ns3:ID>
                                <ns3:
EmailContact>
BirthCountry>RU</ns3:BirthCountry>
                                
<ns3:
Address>some_address@gmail.com<
DateOfExpiration>2023-10-22</ns3:
Address>
DateOfExpiration>
                                
<
<ns3:CountryOfResidence>RU</ns3:
EmailContact>
CountryOfResidence>
                            </ns3:PassengerDocument>
        
<ns3:PhoneContact>
                </ns3:PassengerIDInfo>
                    
<ns3:Number>375176666666<
</ns3:
Number>
Passenger>
                </ns3:Passengers>
                
</ns3
<ns3:
PhoneContact>
Order>
                    
<
<ns3:OrderID Owner="S7">1</ns3:
Contact>
OrderID>
                    
</ns3:Contacts>
<ns3:BookingReferences>
                        <ns3:
Gender>Female</ns3:Gender>
BookingReference>
                            <ns3:ID>LHI2OV</ns3:
PassengerIDInfo>
ID>
                            <ns3:
PassengerDocument>
AirlineID>S7</ns3:AirlineID>
                        
<ns3:Type>PP<
</ns3:
Type>
BookingReference>
                    </ns3:BookingReferences>
            
<ns3:ID>1111111111</ns3:ID>
        <ns3:TimeLimits>
                        <ns3:
DateOfExpiration>2027-12-02</ns3:DateOfExpiration>
PaymentTimeLimit DateTime="2023-02-23T12:37:00"/>
                    
<ns3:CountryOfResidence>RU<
</ns3:
CountryOfResidence>
TimeLimits>
                    <ns3:OrderItems>
        
</ns3:PassengerDocument>
                <ns3:OrderItem>
        
</ns3:PassengerIDInfo>
                   
</ns3:Passenger>
 <ns3:FlightItem>
                
</ns3:Passengers>
                <ns3:
Order>
OriginDestination>
                
<ns3:OrderID Owner="S7">1</ns3:OrderID>
                    <ns3:
BookingReferences>
Flight>
                        
<ns3:BookingReference>
                <ns3:SegmentKey>FL1</ns3:SegmentKey>
            
<ns3:ID>LB9CAK</ns3:ID>
                            <ns3:
AirlineID>S7</ns3:AirlineID>
Status>
                        
</ns3:BookingReference>
                    
</ns3
<ns3:
BookingReferences>
StatusCode>
                        
<ns3:TimeLimits>
                        <ns3
:PaymentTimeLimit DateTime="2022-12-03T20:39:00"/>
:Code>HK</ns3:Code>
                    
</ns3:TimeLimits>
                    
<ns3:OrderItems>
    </ns3:StatusCode>
                    
<ns3:OrderItem>
                    </ns3:Status>
        
<ns3:FlightItem>
                                <ns3:
OriginDestination>
Departure>
                                            <ns3:AirportCode>DME</ns3:
Flight>
AirportCode>
                                            <ns3:
SegmentKey>FL1<
Date>2023-03-19</ns3:
SegmentKey>
Date>
                                     
<ns3:Status>
       
<ns3:Time>11:20</ns3:Time>
                                
<ns3:StatusCode>
        </ns3:Departure>
                                        <ns3:
Code>HK</ns3:Code>
Arrival>
                                            
<
<ns3:AirportCode>OVB</ns3:
StatusCode>
AirportCode>
                                        
<
    <ns3:Date>2023-03-19</ns3:
Status>
Date>
                                        
<ns3:Departure>
    <ns3:Time>19:30</ns3:Time>
                                        
<ns3:AirportCode>DME<
</ns3:
AirportCode>
Arrival>
                                        <ns3:
Date>2023-02-11</ns3:Date>
MarketingCarrier>
                                            <ns3:
Time>11:20<
AirlineID>S7</ns3:
Time>
AirlineID>
                                            
<
<ns3:FlightNumber>2505</ns3:
Departure>
FlightNumber>
                                        
<ns3
</ns3:
Arrival>
MarketingCarrier>
                                        <ns3:
AirportCode>OVB</ns3:AirportCode>
OperatingCarrier>
                                            <ns3:
Date>2023-02-11<
AirlineID>S7</ns3:
Date>
AirlineID>
                                            <ns3:
Time>19:30<
FlightNumber>2505</ns3:
Time>
FlightNumber>
                                        </ns3:
Arrival>
OperatingCarrier>
                                        <ns3:
MarketingCarrier>
CabinType>
                                            <ns3:
AirlineID>S7<
Code>Y</ns3:
AirlineID>
Code>
                                        
<ns3:FlightNumber>2505<
</ns3:
FlightNumber>
CabinType>
                                        
</ns3
<ns3:
MarketingCarrier>
ClassOfService>
                                        
<ns3:OperatingCarrier>
    <ns3:Code>Q</ns3:Code>
                                        
<ns3:AirlineID>XT<
</ns3:
AirlineID>
ClassOfService>
                                    </ns3:Flight>
                                
<ns3:FlightNumber>2505<
</ns3:
FlightNumber>
OriginDestination>
                            </ns3:FlightItem>
            
</ns3:OperatingCarrier>
                <ns3:Associations>
                        
<ns3:CabinType>
        <ns3:Passengers>
                                    <ns3:
Code>D<
PassengerReferences>SH4</ns3:
Code>
PassengerReferences>
                                
</ns3:
CabinType>
Passengers>
                            </ns3:Associations>
                
<ns3:ClassOfService>
        </ns3:OrderItem>
                    </ns3:OrderItems>
                
<ns3:Code>D<
</ns3:
Code>
Order>
                <ns3:Metadata>
                    
</ns3:ClassOfService>
<ns3:Other>
                        <ns3:OtherMetadata>
                
</ns3:Flight>
            <ns3:CountryMetadatas>
                    
</ns3:OriginDestination>
            <ns3:CountryMetadata>
                
</ns3:FlightItem>
                    <ns3:AugmentationPoint>
        
<ns3:Associations>
                                <ns3:
Passengers>
AugPoint Owner="OVB"/>
                                    
<ns3:PassengerReferences>SH4<
</ns3:
PassengerReferences>
AugmentationPoint>
                                </ns3:
Passengers>
CountryMetadata>
                            </ns3:
Associations>
CountryMetadatas>
                        </ns3:
OrderItem>
OtherMetadata>
                    </ns3:
OrderItems>
Other>
                </ns3:
Order>
Metadata>
            </ns3:Response>
        </ns3:OrderViewRS>
    </ns2:Body>
</ns2:Envelope>

...