1. models
KingTravel Shopping API
  • ShoppingAPI
  • models
    • AuxBaggageElement
    • AuxSegment
    • AuxiliaryV2
    • ChangesInfo
    • Condition
    • FormatBaggageDetail
    • Price
    • RefundInfo
    • ResponseRouting
    • Segment
    • VerifyRes
    • Routing
    • VerifyReq
    • AirlineAncillaries
    • Flight
    • FlightRef
    • PackageInfo
    • SearchRes
    • ShoppingResult
    • Stop
    • Tu
    • SearchReq
    • BaggagePrice
    • FlightSegmentRefs
    • OrderInfo
    • PassengerBaggages
    • Passengers
    • PayBaggages
    • QueryRes
    • TicketInfos
    • QueryReq
    • PayRes
    • PayReq
    • CancelRes
    • CancelReq
    • BookingRes
    • Contact
    • BookingReq
    • FFPNo
    • Passenger
    • NotifyContent
    • NotifyReq
    • OrderExpiredNotifyContent
    • TicketSuccessNotifyContent
    • NotifyRes
  1. models

SearchRes

{
    "status": 0,
    "msg": "success",
    "shoppingResultList": [
        {
            "flightRefList": [
                {
                    "flightRefNum": 0,
                    "segmentNo": 0,
                    "flightSeq": 0,
                    "tuSequence": 0,
                    "seatGrade": "string",
                    "seatClass": "string",
                    "seatCount": 0,
                    "originSeatClass": "string",
                    "brandName": "string",
                    "flightNo": "string",
                    "depPort": "string",
                    "arrPort": "string",
                    "depTime": "string"
                }
            ],
            "data": "string",
            "tuList": [
                {
                    "tuSequence": 0,
                    "priceList": [
                        {
                            "passengerType": 0,
                            "publishPrice": 0,
                            "price": 0,
                            "taxFeeAmount": 0,
                            "ruleId": 0
                        }
                    ],
                    "eligibility": "string",
                    "validatingCarrier": "string",
                    "productType": "string",
                    "fareBasis": "string",
                    "isUseOtaRule": true,
                    "tariffNo": "string",
                    "ruleNo": "string",
                    "bookingOfficeNo": "string",
                    "ticketingOfficeNo": "string",
                    "reservationType": "string",
                    "posCode": "string",
                    "complexTerm": 0,
                    "minAge": 0,
                    "maxAge": 0,
                    "nationalityType": 0,
                    "nationality": "string",
                    "planCategory": 0,
                    "invoiceType": "string",
                    "minPassengerCount": 0,
                    "maxPassengerCount": 0,
                    "note": "string",
                    "airlineAncillaries": {
                        "baggageService": true,
                        "unFreeBaggage": true
                    },
                    "formatBaggageDetailList": [
                        {
                            "segmentNo": 0,
                            "flightSeq": 0,
                            "passengerType": 0,
                            "baggageType": 0,
                            "baggagePiece": 0,
                            "baggageWeight": 0
                        }
                    ],
                    "refundInfoList": [
                        {
                            "passengerType": 0,
                            "refundType": 0,
                            "refundStatus": "string",
                            "refundFee": 0,
                            "refNoshow": "string",
                            "refNoShowCondition": 0,
                            "refNoshowFee": 0,
                            "conditionList": [
                                {
                                    "status": "string",
                                    "endMinute": 0,
                                    "amount": 0
                                }
                            ]
                        }
                    ],
                    "changesInfoList": [
                        {
                            "passengerType": 0,
                            "changesType": 0,
                            "changesStatus": "string",
                            "changesFee": 0,
                            "revNoshow": "string",
                            "revNoShowCondition": 0,
                            "revNoshowFee": 0,
                            "conditionList": [
                                {
                                    "status": "string",
                                    "endMinute": 0,
                                    "amount": 0
                                }
                            ]
                        }
                    ],
                    "packageInfo": {
                        "packageType": "string",
                        "packageName": "string"
                    },
                    "currency": "string",
                    "applyType": 0,
                    "ticketTimeUnit": 0,
                    "tuanType": 0,
                    "combineIndexs": [
                        0
                    ],
                    "endorsement": 0,
                    "extraInfo": {
                        "property1": "string",
                        "property2": "string"
                    }
                }
            ]
        }
    ],
    "flightList": [
        {
            "flightRefNum": 0,
            "marketingCarrier": "CA",
            "flightNumber": "CA123",
            "operatingCarrier": "string",
            "operatingFlightNo": "string",
            "depAirport": "PVG",
            "arrAirport": "NRT",
            "depTerminal": "T1",
            "arrTerminal": "T3",
            "depTime": "201203100300",
            "arrTime": "201203101305",
            "codeShare": false,
            "aircraftCode": "string",
            "stops": [
                {
                    "stopAirport": "string",
                    "stopDuration": 0,
                    "stopCity": "string"
                }
            ]
        }
    ],
    "cacheTime": 120
}
Built with