ChinaTicket.Online OPEN API Document
  1. berlogic
ChinaTicket.Online OPEN API Document
  • Default module
    • Open API
      • flight
        • Flight Shopping
        • Flight Pricing
        • Price validation
        • Create origin order
        • pay an order
        • cancel an order
        • order detail
        • search change solutions
        • request an flight change
        • request an refund
        • confirm to refund the tiekct
      • train
        • Train Stations
        • Train shopping
        • Create train order
        • Order detail
        • Cancel an order
        • Pay an order
        • Intercept an order
        • Refund an order
      • Get Balance
    • Schemas
      • request
        • request.FlightShoppingRequest
        • request.PayFlightOrderRequest
        • request.ChangeFlightOrderRequests
        • request.CreateFlightOriginOrderRequest
        • request.FlightChangeSearchRequest
        • request.RefundFlightOrderRequest
      • consts
        • consts.CabinClass
        • consts.RefundReason
        • consts.FlightOrderStatus
        • consts.FlightOrderType
        • consts.FlightTicketStatus
        • consts.FlightProductType
        • consts.FlightInvoiceType
        • consts.FlightTaxType
        • consts.PassengerEligibility
      • model
        • model.FlightJourneyCore
        • model.PassengerCountRequest
        • model.ChangeSegment
        • model.PassengerFlightOrder
        • model.ChangeShoppingResult
        • model.ChangeShoppingSegment
        • model.FlightSegmentInfo
        • model.BaggageRule
        • model.BaggageRuleDetail
        • model.FlightCoreSegmentCache
        • model.StopOver
        • model.OrderDetail
        • model.FareRule
        • model.FlightJourney
        • model.FlightSegmentWithCoreSegment
        • model.CoreSegmentDetail
        • model.FlightScheduleChange
        • model.FlightPassengerTickets
        • model.FlightTicket
        • model.PriceDetail
        • model.PriceInFlightOriginOrder
        • model.PriceInFlightChangeOrder
        • model.PriceInFlightRefundOrder
        • model.PriceInFlightVoidOrder
        • model.FlightSolutionResp
        • model.FlightJourneyResp
        • model.FlightPriceDetail
        • model.FlightPrice
        • model.FlightTax
        • model.FlightSolutionLimitation
        • model.FlightLimitAgePair
      • Schemas
        • consts.PassengerType
        • consts.Gender
        • consts.TrainIssueWay
        • consts.TravelDocumentType
        • consts.TrainOrderStatus
        • consts.TrainOrderTicketStatus
        • consts.TrainPassengerStatus
        • consts.TrainRefundStatus
        • dto.PaginationList-array_resp_TrainOrderResp
        • resp.TrainOrderResp
        • resp.TrainOriginTicketDetail
        • req.TrainOrderListReq
        • response.Response-dto_PaginationList-array_resp_TrainOrderResp
        • model.CreateTrainOriginOrderReq
        • response.Response-resp_TrainOrderResp
        • resp.TrainChangeDetail
        • resp.TrainChangeTicketDetail
        • resp.StationDetail
        • model.ShoppingCNTrainStationsResp
        • req.TrainShoppingReq
        • response.Response-array_model_ShoppingCNTrainStationsResp
        • resp.Seats
        • resp.StationInfo
        • response.Response-array_resp_TrainShoppingResp
        • resp.TrainShoppingResp
  • berlogic
    • authenticate
      POST
    • preparePayment
      POST
    • finishBooking
      POST
    • checkPricing
      POST
    • createReservation
      POST
    • priceBrandFamily
      POST
    • searchAeroexpressSeatInfo
      POST
    • searchExchanges
      POST
    • refundBooking
      POST
    • searchFlights
      POST
    • calculateInsurance
      POST
    • sendEmail
      POST
    • cancelReservation
      POST
    • voidTickets
      POST
    • updatePassenger
      POST
    • getBookingRefundCost
      POST
    • bookAdditionalServices
      POST
    • refundPolicy
      POST
    • changePassword
      POST
    • reversePolicy
      POST
    • searchRemarks
      POST
    • issuePolicy
      POST
    • exchangeBooking
      POST
    • searchSchedule
      POST
    • priceAdditionalServices
      POST
    • searchAeroexpressTrainInfo
      POST
  1. berlogic

searchExchanges

POST
/Partner/Avia/v3

Request

Header Params

Body Params application/xml

Example
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <searchExchanges xmlns="http://partner.v3.webservice.berlogic.de/">
      <agencyCode>string</agencyCode>
      <agentCode>string</agentCode>
      <agentPassword>string</agentPassword>
      <salesPointCode>string</salesPointCode>
      <lang>string</lang>
      <bookingNumber>string</bookingNumber>
      <exchangeRoute>
        <segment>
          <beginDate>2025-12-11T04:10:26.071Z</beginDate>
          <beginLocation>string</beginLocation>
          <bookingClass>string</bookingClass>
          <connected>true</connected>
          <endDate>2025-12-11T04:10:26.071Z</endDate>
          <endLocation>string</endLocation>
          <flightNumber>string</flightNumber>
          <marketingVendor>string</marketingVendor>
          <operatingVendor>string</operatingVendor>
        </segment>
      </exchangeRoute>
    </searchExchanges>
  </soap:Body>
</soap:Envelope>

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/Partner/Avia/v3' \
--header 'Content-Type: text/xml; charset=utf-8' \
--data-raw '<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <searchExchanges xmlns="http://partner.v3.webservice.berlogic.de/">
      <agencyCode>string</agencyCode>
      <agentCode>string</agentCode>
      <agentPassword>string</agentPassword>
      <salesPointCode>string</salesPointCode>
      <lang>string</lang>
      <bookingNumber>string</bookingNumber>
      <exchangeRoute>
        <segment>
          <beginDate>2025-12-11T04:10:26.071Z</beginDate>
          <beginLocation>string</beginLocation>
          <bookingClass>string</bookingClass>
          <connected>true</connected>
          <endDate>2025-12-11T04:10:26.071Z</endDate>
          <endLocation>string</endLocation>
          <flightNumber>string</flightNumber>
          <marketingVendor>string</marketingVendor>
          <operatingVendor>string</operatingVendor>
        </segment>
      </exchangeRoute>
    </searchExchanges>
  </soap:Body>
</soap:Envelope>'

Responses

🟢200searchExchanges response
application/xml
Body

Example
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <searchExchangesResponse xmlns="http://partner.v3.webservice.berlogic.de/">
      <return>
        <flight>
          <allowedPaymentType>
            <fee>75</fee>
            <feeCurrency>string</feeCurrency>
            <type>CASH_OFFICE</type>
          </allowedPaymentType>
          <channelId>string</channelId>
          <context>Y29udGVudA==</context>
          <cost>
            <currency>string</currency>
            <elements>
              <category>ADULT</category>
              <context>Y29udGVudA==</context>
              <fee>23</fee>
              <feeB>70</feeB>
              <feeP>14</feeP>
              <tariff>62</tariff>
              <taxes>8</taxes>
            </elements>
            <fee>27</fee>
            <SSRs>22</SSRs>
            <surcharges>
              <amount>63</amount>
              <code>string</code>
            </surcharges>
          </cost>
          <eticket>true</eticket>
          <exchangeRate>56</exchangeRate>
          <latinRegistration>true</latinRegistration>
          <passportRequired>true</passportRequired>
          <reservable>true</reservable>
          <segments>
            <airlineLocator>string</airlineLocator>
            <airlineLogin>string</airlineLogin>
            <airlinePassword>string</airlinePassword>
            <airlineUrl>string</airlineUrl>
            <beginDate>string</beginDate>
            <beginLocation>
              <displayCode>string</displayCode>
              <id>string</id>
              <name>string</name>
              <countryId>string</countryId>
              <parentLocationId>string</parentLocationId>
              <railwayCodeId>string</railwayCodeId>
              <type>AIRPORT</type>
            </beginLocation>
            <board>string</board>
            <boardCode>string</boardCode>
            <bookingClass>string</bookingClass>
            <brandId>string</brandId>
            <brandName>string</brandName>
            <cabinBag>string</cabinBag>
            <connected>true</connected>
            <context>Y29udGVudA==</context>
            <endDate>string</endDate>
            <endLocation>
              <countryId>string</countryId>
              <parentLocationId>string</parentLocationId>
              <railwayCodeId>string</railwayCodeId>
              <type/>
            </endLocation>
            <exchange>YES</exchange>
            <fareBasis>string</fareBasis>
            <flightNumber>string</flightNumber>
            <luggageAllowed>string</luggageAllowed>
            <marketingVendor>
              <displayCode>string</displayCode>
              <id>string</id>
              <name>string</name>
            </marketingVendor>
            <operatingFlightNumber>string</operatingFlightNumber>
            <operatingVendor/>
            <penalty>
              <exchangeFee>98</exchangeFee>
              <refundFee>59</refundFee>
            </penalty>
            <penaltyAfterDeparture>
              <exchangeFee>37</exchangeFee>
              <refundFee>40</refundFee>
            </penaltyAfterDeparture>
            <refund>YES</refund>
            <refundable>true</refundable>
            <SSRs>
              <amountOfPieces>100</amountOfPieces>
              <id>string</id>
              <required>string</required>
              <rfic>string</rfic>
              <rfisc>string</rfisc>
              <tariff>59</tariff>
              <taxes>98</taxes>
              <type>LUGGAGE</type>
              <weight>59</weight>
              <weightType>PER_PIECE</weightType>
              <wholeLeg>true</wholeLeg>
            </SSRs>
            <seatIncluded>YES</seatIncluded>
            <seats>100</seats>
            <serviceClass>ECONOM</serviceClass>
            <stops>
              <begin>string</begin>
              <board>string</board>
              <boardCode>string</boardCode>
              <end>string</end>
              <location>
                <countryId>string</countryId>
                <parentLocationId>string</parentLocationId>
                <railwayCodeId>string</railwayCodeId>
                <type/>
              </location>
            </stops>
            <terminalBegin>string</terminalBegin>
            <terminalEnd>string</terminalEnd>
            <travelDuration>100</travelDuration>
            <vendor/>
          </segments>
          <timeLimit>2025-12-11T04:10:26.072Z</timeLimit>
        </flight>
        <totalPrice>
          <amount>84</amount>
          <currency>string</currency>
        </totalPrice>
      </return>
    </searchExchangesResponse>
  </soap:Body>
</soap:Envelope>
🔴500searchExchanges fault - Exception
Modified at 2025-12-11 04:10:50
Previous
searchAeroexpressSeatInfo
Next
refundBooking
Built with