FlightRepricing

FlightRepricing

Flight repricing. The request includes the availability check of the flight. Saves the user-selected fare families.

Request

Format Description
  • FlightID - ID of the flight for which you need to performs the repricing. Data type - string.
  • PricingInfo — additional information about the pricing component of the flight for which you need to perform additional operations. Data type - array.
  • PricingInfo.BookingClassCodes — information about the flight classes for which you need to find the flight price. Data type - array.
  • PricingInfo.BookingClassCodes.BookingClassCodesForSegment — information about the flight class for a particular segment. Data type - array.
  • PricingInfo.BookingClassCodes.BookingClassCodesForSegment.SegmentNumber — segment number in the flight. Data type - 32-bit integer.
  • PricingInfo.BookingClassCodes.BookingClassCodesForSegment.BookingClassCode — flight class letter for this segment. Data type - string.
  • PricingInfo.Passengers — contains information on the passengers for whom you need to find the flight price. Data type - array.
  • PricingInfo.Passengers.Passenger — contains information on one of the passenger types for which you need to find the flight price. Data type - array.
  • PricingInfo.Passengers.Passenger.Type — passenger type. Data type - enumeration.
  • PricingInfo.Passengers.Passenger.Count — number of passengers of that type. Data type - 32-bit integer.
  • PricingInfo.CurrencyCode — ISO Alpha3 code of the currency in which you need to find the price. Data type - string.
  • PricingInfo.PrivateFaresOnly — attribute of searching only for the private fares. Data type - bool.
  • PricingInfo.ValidatingCompany — IATA-code of the validating carrier prices of which are of interest. Data type - string.
  • PricingInfo.IgnoreRepricingSettings — allows you to ignore the repricing settings. Data type - bool.
  • PricingInfo.PriceSpecifiedPassTypesOnly — if possible, using only particular passenger type codes. Data type - bool.
  • PricingInfo.RefererID - if specified, redefines user for which pricing estimation will be performed. Data type - int.
  • PricingInfo.ThreeDomainAgreementNumber — corporate client code in the three-party agreement. Data type - string.
  • PricingInfo.IsMixerDisabled - attribute of mixer being disabled. Data type - boolean.
Sample
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:avia="http://ws-ibe.com/Avia" xmlns:stl="http://ws-ibe.com/STL">
   <soapenv:Header/>
   <soapenv:Body>
      <avia:FlightRepricing>
         <avia:Request>
            <stl:Requisites>
               <stl:AuthToken>token</stl:AuthToken>
            </stl:Requisites>
            <stl:UserID>11111</stl:UserID>
            <stl:RequestType>P</stl:RequestType>
            <stl:RequestBody>
               <avia:FlightID>1100007274000000</avia:FlightID>
               <avia:PricingInfo>
                  <avia:IsMixerDisabled>false</avia:IsMixerDisabled>
               </avia:PricingInfo>
            </stl:RequestBody>
         </avia:Request>
      </avia:FlightRepricing>
   </soapenv:Body>
</soapenv:Envelope>

Response

Format Description
  • NoServiceLevelDowngrade - list of flight variants in which there is no service level decrease. Data type - Flight array.
  • BaggageDowngrade - list of flight variants in which luggage service level is lowered. Data type - Flight array.
Sample
<?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
  <s:Body>
    <FlightRepricingResponse xmlns="http://ws-ibe.com/Avia">
      <FlightRepricingResult xmlns:a="http://ws-ibe.com/STL" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
        <a:RequestID>11858531936</a:RequestID>
        <a:ResponseBody>
          <NoServiceLevelDowngrade>
            <Flight>
              <a:ID>11858531936000005</a:ID>
              <SourceID>21938</SourceID>
              <TypeInfo>
                <Type>Regular</Type>
                <DirectionType>RT</DirectionType>
              </TypeInfo>
              <Segments>
                <Segment>
                  <a:ID>1</a:ID>
                  <DepAirp>
                    <AirportCode>CDG</AirportCode>
                    <CityCode>PAR</CityCode>
                    <UTC>2</UTC>
                    <Terminal>A</Terminal>
                  </DepAirp>
                  <ArrAirp>
                    <AirportCode>BCN</AirportCode>
                    <UTC>5</UTC>
                  </ArrAirp>
                  <FlightNumber>579</FlightNumber>
                  <FlightTime>135</FlightTime>
                  <OpAirline>BA</OpAirline>
                  <MarkAirline>BA</MarkAirline>
                  <AircraftType>738</AircraftType>
                  <DepDateTime>2017-10-01T00:20:00</DepDateTime>
                  <ArrDateTime>2017-10-01T02:35:00</ArrDateTime>
                  <BookingClass>
                    <BaseClass>Economy</BaseClass>
                    <BookingClassCode>K</BookingClassCode>
                    <FreeSeatCount>6</FreeSeatCount>
                  </BookingClass>
                  <ETicket>true</ETicket>
                  <RequestedSegment>0</RequestedSegment>
                </Segment>
                <Segment>
                  <a:ID>2</a:ID>
                  <DepAirp>
                    <AirportCode>BCN</AirportCode>
                    <UTC>5</UTC>
                  </DepAirp>
                  <ArrAirp>
                    <AirportCode>CDG</AirportCode>
                    <CityCode>PAR</CityCode>
                    <UTC>2</UTC>
                    <Terminal>A</Terminal>
                  </ArrAirp>
                  <FlightNumber>580</FlightNumber>
                  <FlightTime>130</FlightTime>
                  <OpAirline>BA</OpAirline>
                  <MarkAirline>BA</MarkAirline>
                  <AircraftType>738</AircraftType>
                  <DepDateTime>2017-10-08T06:00:00</DepDateTime>
                  <ArrDateTime>2017-10-08T08:10:00</ArrDateTime>
                  <BookingClass>
                    <BaseClass>Economy</BaseClass>
                    <BookingClassCode>O</BookingClassCode>
                    <FreeSeatCount>9</FreeSeatCount>
                  </BookingClass>
                  <ETicket>true</ETicket>
                  <RequestedSegment>1</RequestedSegment>
                </Segment>
              </Segments>
              <PriceInfo>
                <Price>
                  <a:ID>1</a:ID>
                  <ValidatingCompany>BA</ValidatingCompany>
                  <Refundable>NonRefundable</Refundable>
                  <PrivateFareInd>false</PrivateFareInd>
                  <TicketTimeLimit>2017-09-10T23:59:00</TicketTimeLimit>
                  <PassengerFares>
                    <PassengerFare>
                      <Type>ADT</Type>
                      <Quantity>1</Quantity>
                      <BaseFare>
                        <a:Amount>29</a:Amount>
                        <a:Currency>EUR</a:Currency>
                      </BaseFare>
                      <EquiveFare>
                        <a:Amount>29</a:Amount>
                        <a:Currency>EUR</a:Currency>
                      </EquiveFare>
                      <TotalFare>
                        <a:Amount>86</a:Amount>
                        <a:Currency>EUR</a:Currency>
                      </TotalFare>
                      <Taxes>
                        <Tax>
                          <a:Amount>20</a:Amount>
                          <a:Currency>EUR</a:Currency>
                          <TaxCode>YQF</TaxCode>
                        </Tax>
                        <Tax>
                          <a:Amount>37</a:Amount>
                          <a:Currency>EUR</a:Currency>
                          <TaxCode>YRI</TaxCode>
                        </Tax>
                      </Taxes>
                      <Tariffs>
                        <Tariff>
                          <Code>KLTRT</Code>
                          <Type>Public</Type>
                          <SegNum>1</SegNum>
                          <FareFamilyDescID>0</FareFamilyDescID>
                        </Tariff>
                        <Tariff>
                          <Code>OLTRT</Code>
                          <Type>Public</Type>
                          <SegNum>2</SegNum>
                          <FareFamilyDescID>0</FareFamilyDescID>
                        </Tariff>
                      </Tariffs>
                      <FareCalc>Text</FareCalc>
                    </PassengerFare>
                  </PassengerFares>
                  <AgencyMarkup>
                    <a:Amount>0</a:Amount>
                    <a:Currency>EUR</a:Currency>
                  </AgencyMarkup>
                  <PricingData>
                    <PricingRule>20837752</PricingRule>
                    <Code>BA</Code>
                    <AirlineCommission>
                      <Percent>0.01</Percent>
                      <Type>Percent</Type>
                    </AirlineCommission>
                    <AgencyProfit>
                      <Percent>0.01</Percent>
                      <Type>Percent</Type>
                    </AgencyProfit>
                    <AgencyCommission>
                      <a:Amount>0</a:Amount>
                      <a:Currency>EUR</a:Currency>
                    </AgencyCommission>
                  </PricingData>
                  <ChargeBreakdown>
                    <a:Charge>
                      <a:Amount>0</a:Amount>
                      <a:Currency>EUR</a:Currency>
                      <a:RuleID>20837752</a:RuleID>
                    </a:Charge>
                    <a:Charge>
                      <a:Amount>0</a:Amount>
                      <a:Currency>EUR</a:Currency>
                      <a:RuleID>20837754</a:RuleID>
                    </a:Charge>
                    <a:Charge>
                      <a:Amount>0</a:Amount>
                      <a:Currency>EUR</a:Currency>
                      <a:RuleID>20839938</a:RuleID>
                    </a:Charge>
                  </ChargeBreakdown>
                </Price>
              </PriceInfo>
              <FareFamiliesDescription>
                <a:Description>
                  <a:ID>0</a:ID>
                  <a:Name>Lite</a:Name>
                  <a:Refundable>NonRefundable</a:Refundable>
                  <a:FlownMiles>25</a:FlownMiles>
                  <a:UniversalParameters>
                    <a:FareFamilyParameter>
                      <a:Code>baggage</a:Code>
                      <a:ShortDescription>
                        <a:LangItem>
                          <a:Code>EN</a:Code>
                          <a:Value>no free baggage allowance</a:Value>
                        </a:LangItem>
                        <a:LangItem>
                          <a:Code>DE</a:Code>
                          <a:Value>kein Freigepäck</a:Value>
                        </a:LangItem>
                      </a:ShortDescription>
                      <a:FullDescription/>
                      <a:NeedToPay>Charge</a:NeedToPay>
                      <a:Priority>0</a:Priority>
                    </a:FareFamilyParameter>
                    <a:FareFamilyParameter>
                      <a:Code>carry_on</a:Code>
                      <a:ShortDescription>
                        <a:LangItem>
                          <a:Code>EN</a:Code>
                          <a:Value>1 item up to 10 kg</a:Value>
                        </a:LangItem>
                        <a:LangItem>
                          <a:Code>DE</a:Code>
                          <a:Value>1 Beutel bis 10 kg</a:Value>
                        </a:LangItem>
                      </a:ShortDescription>
                      <a:FullDescription/>
                      <a:NeedToPay>Free</a:NeedToPay>
                      <a:Priority>0</a:Priority>
                    </a:FareFamilyParameter>
                    <a:FareFamilyParameter>
                      <a:Code>refundable</a:Code>
                      <a:ShortDescription>
                        <a:LangItem>
                          <a:Code>EN</a:Code>
                          <a:Value>Refund</a:Value>
                        </a:LangItem>
                        <a:LangItem>
                          <a:Code>DE</a:Code>
                          <a:Value>Ticketrückerstattung</a:Value>
                        </a:LangItem>
                      </a:ShortDescription>
                      <a:FullDescription>
                        <a:LangItem>
                          <a:Code>EN</a:Code>
                          <a:Value>Non-refundable.</a:Value>
                        </a:LangItem>
                        <a:LangItem>
                          <a:Code>DE</a:Code>
                          <a:Value>Fare ist völlig nicht rückzahlbar.</a:Value>
                        </a:LangItem>
                      </a:FullDescription>
                      <a:NeedToPay>NotAvailable</a:NeedToPay>
                      <a:Priority>0</a:Priority>
                    </a:FareFamilyParameter>
                    <a:FareFamilyParameter>
                      <a:Code>exchangeable</a:Code>
                      <a:ShortDescription>
                        <a:LangItem>
                          <a:Code>EN</a:Code>
                          <a:Value>Exchange</a:Value>
                        </a:LangItem>
                        <a:LangItem>
                          <a:Code>DE</a:Code>
                          <a:Value>Ticketbörse</a:Value>
                        </a:LangItem>
                      </a:ShortDescription>
                      <a:FullDescription>
                        <a:LangItem>
                          <a:Code>EN</a:Code>
                          <a:Value>Non-exchangeable.</a:Value>
                        </a:LangItem>
                        <a:LangItem>
                          <a:Code>DE</a:Code>
                          <a:Value>Nicht austauschbar.</a:Value>
                        </a:LangItem>
                      </a:FullDescription>
                      <a:NeedToPay>NotAvailable</a:NeedToPay>
                      <a:Priority>0</a:Priority>
                    </a:FareFamilyParameter>
                    <a:FareFamilyParameter>
                      <a:Code>miles</a:Code>
                      <a:ShortDescription>
                        <a:LangItem>
                          <a:Code>EN</a:Code>
                          <a:Value>25% Miles</a:Value>
                        </a:LangItem>
                        <a:LangItem>
                          <a:Code>DE</a:Code>
                          <a:Value>25% Meilen</a:Value>
                        </a:LangItem>
                      </a:ShortDescription>
                      <a:FullDescription/>
                      <a:NeedToPay>Free</a:NeedToPay>
                      <a:Priority>0</a:Priority>
                    </a:FareFamilyParameter>
                    <a:FareFamilyParameter>
                      <a:Code>description</a:Code>
                      <a:ShortDescription>
                        <a:LangItem>
                          <a:Code>EN</a:Code>
                          <a:Value>Light</a:Value>
                        </a:LangItem>
                        <a:LangItem>
                          <a:Code>DE</a:Code>
                          <a:Value>Licht</a:Value>
                        </a:LangItem>
                      </a:ShortDescription>
                      <a:FullDescription/>
                      <a:NeedToPay>Free</a:NeedToPay>
                      <a:Priority>0</a:Priority>
                    </a:FareFamilyParameter>
                  </a:UniversalParameters>
                </a:Description>
              </FareFamiliesDescription>
            </Flight>
          </NoServiceLevelDowngrade>
        </a:ResponseBody>
      </FlightRepricingResult>
    </FlightRepricingResponse>
  </s:Body>
</s:Envelope>