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

searchFlights

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>
    <searchFlights xmlns="http://partner.v3.webservice.berlogic.de/">
      <settings>
        <agencyCode>string</agencyCode>
        <agentCode>string</agentCode>
        <agentPassword>string</agentPassword>
        <dateTolerance>100</dateTolerance>
        <eticketsOnly>true</eticketsOnly>
        <lang>string</lang>
        <mixedVendors>true</mixedVendors>
        <preferredCurrency>string</preferredCurrency>
        <route>
          <beginLocation>string</beginLocation>
          <date>2025-12-11T04:10:26.072Z</date>
          <departureTimeFrom>string</departureTimeFrom>
          <departureTimeTo>string</departureTimeTo>
          <endLocation>string</endLocation>
        </route>
        <salesPoint>string</salesPoint>
        <serviceClass>ECONOM</serviceClass>
        <skipConnected>true</skipConnected>
      </settings>
    </searchFlights>
  </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>
    <searchFlights xmlns="http://partner.v3.webservice.berlogic.de/">
      <settings>
        <agencyCode>string</agencyCode>
        <agentCode>string</agentCode>
        <agentPassword>string</agentPassword>
        <dateTolerance>100</dateTolerance>
        <eticketsOnly>true</eticketsOnly>
        <lang>string</lang>
        <mixedVendors>true</mixedVendors>
        <preferredCurrency>string</preferredCurrency>
        <route>
          <beginLocation>string</beginLocation>
          <date>2025-12-11T04:10:26.072Z</date>
          <departureTimeFrom>string</departureTimeFrom>
          <departureTimeTo>string</departureTimeTo>
          <endLocation>string</endLocation>
        </route>
        <salesPoint>string</salesPoint>
        <serviceClass>ECONOM</serviceClass>
        <skipConnected>true</skipConnected>
      </settings>
    </searchFlights>
  </soap:Body>
</soap:Envelope>'

Responses

🟢200searchFlights response
application/xml
Body

Example
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <searchFlightsResponse xmlns="http://partner.v3.webservice.berlogic.de/">
      <return>
        <allowedPaymentType>
          <fee>8</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>55</fee>
            <feeB>13</feeB>
            <feeP>20</feeP>
            <tariff>21</tariff>
            <taxes>19</taxes>
          </elements>
          <fee>34</fee>
          <SSRs>82</SSRs>
          <surcharges>
            <amount>53</amount>
            <code>string</code>
          </surcharges>
        </cost>
        <eticket>true</eticket>
        <exchangeRate>80</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>79</exchangeFee>
            <refundFee>75</refundFee>
          </penalty>
          <penaltyAfterDeparture>
            <exchangeFee>91</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>57</tariff>
            <taxes>73</taxes>
            <type>LUGGAGE</type>
            <weight>88</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>
      </return>
    </searchFlightsResponse>
  </soap:Body>
</soap:Envelope>
🔴500searchFlights fault - Exception
Modified at 2025-12-11 04:10:50
Previous
refundBooking
Next
calculateInsurance
Built with