# ChinaTicket.Online OPEN API Document ## Docs - [Open API](https://docs.chinaticket.online/52506317f0.md): - Open API [flight](https://docs.chinaticket.online/52506318f0.md): - Open API [train](https://docs.chinaticket.online/52506319f0.md): ## API Docs - Open API > flight [Flight Shopping](https://docs.chinaticket.online/272884013e0.md): To get prices from multiple airlines and vendors for a certain trip - Open API > flight [Flight Pricing](https://docs.chinaticket.online/272884014e0.md): to get prices of a certain route - Open API > flight [Price validation](https://docs.chinaticket.online/272884015e0.md): this api is able to check the price return by shopping api, we will respond the real-time price and availability. - Open API > flight [Create origin order](https://docs.chinaticket.online/272884016e0.md): It is necessary to use Price validation service before using this interface. - Open API > flight [pay an order](https://docs.chinaticket.online/272884017e0.md): - Open API > flight [cancel an order](https://docs.chinaticket.online/272884018e0.md): - Open API > flight [order detail](https://docs.chinaticket.online/272884019e0.md): fetch order detail - Open API > flight [search change solutions](https://docs.chinaticket.online/272884020e0.md): - Open API > flight [request an flight change](https://docs.chinaticket.online/272884021e0.md): - Open API > flight [request an refund](https://docs.chinaticket.online/272884022e0.md): - Open API > flight [confirm to refund the tiekct](https://docs.chinaticket.online/272884023e0.md): - Open API > train [Train Stations](https://docs.chinaticket.online/284922729e0.md): - Open API > train [Train shopping](https://docs.chinaticket.online/272884024e0.md): Retrieve the train schedule between two stations for a specific date. - Open API > train [Create train order](https://docs.chinaticket.online/272884025e0.md): create a train order - Open API > train [Order detail](https://docs.chinaticket.online/272884026e0.md): Retrieve an order detail - Open API > train [Cancel an order](https://docs.chinaticket.online/272884027e0.md): cancel an order before payment - Open API > train [Pay an order](https://docs.chinaticket.online/272884028e0.md): - Open API > train [Intercept an order](https://docs.chinaticket.online/276732557e0.md): intercept an order already paid but not issued. - Open API > train [Refund an order](https://docs.chinaticket.online/272884029e0.md): Ticket refund request (full/partail). - Open API [Get Balance](https://docs.chinaticket.online/361072776e0.md): ## Schemas - request [request.FlightShoppingRequest](https://docs.chinaticket.online/153686069d0.md): - request [request.PayFlightOrderRequest](https://docs.chinaticket.online/153686070d0.md): - request [request.ChangeFlightOrderRequests](https://docs.chinaticket.online/153686071d0.md): - request [request.CreateFlightOriginOrderRequest](https://docs.chinaticket.online/153686072d0.md): - request [request.FlightChangeSearchRequest](https://docs.chinaticket.online/153686073d0.md): - request [request.RefundFlightOrderRequest](https://docs.chinaticket.online/153686074d0.md): - consts [consts.CabinClass](https://docs.chinaticket.online/153686075d0.md): - consts [consts.RefundReason](https://docs.chinaticket.online/153686076d0.md): - consts [consts.FlightOrderStatus](https://docs.chinaticket.online/153686077d0.md): - consts [consts.FlightOrderType](https://docs.chinaticket.online/153686078d0.md): - consts [consts.FlightTicketStatus](https://docs.chinaticket.online/153686079d0.md): - consts [consts.FlightProductType](https://docs.chinaticket.online/153686080d0.md): - consts [consts.FlightInvoiceType](https://docs.chinaticket.online/153686081d0.md): - consts [consts.FlightTaxType](https://docs.chinaticket.online/153686082d0.md): - consts [consts.PassengerEligibility](https://docs.chinaticket.online/153686083d0.md): - model [model.FlightJourneyCore](https://docs.chinaticket.online/153686084d0.md): - model [model.PassengerCountRequest](https://docs.chinaticket.online/153686085d0.md): - model [model.ChangeSegment](https://docs.chinaticket.online/153686086d0.md): - model [model.PassengerFlightOrder](https://docs.chinaticket.online/153686087d0.md): - model [model.ChangeShoppingResult](https://docs.chinaticket.online/153686088d0.md): - model [model.ChangeShoppingSegment](https://docs.chinaticket.online/153686089d0.md): - model [model.FlightSegmentInfo](https://docs.chinaticket.online/153686090d0.md): - model [model.BaggageRule](https://docs.chinaticket.online/153686091d0.md): - model [model.BaggageRuleDetail](https://docs.chinaticket.online/153686092d0.md): - model [model.FlightCoreSegmentCache](https://docs.chinaticket.online/153686093d0.md): - model [model.StopOver](https://docs.chinaticket.online/153686094d0.md): - model [model.OrderDetail](https://docs.chinaticket.online/153686095d0.md): - model [model.FareRule](https://docs.chinaticket.online/153686096d0.md): - model [model.FlightJourney](https://docs.chinaticket.online/153686097d0.md): - model [model.FlightSegmentWithCoreSegment](https://docs.chinaticket.online/153686098d0.md): - model [model.CoreSegmentDetail](https://docs.chinaticket.online/153686099d0.md): - model [model.FlightScheduleChange](https://docs.chinaticket.online/153686100d0.md): - model [model.FlightPassengerTickets](https://docs.chinaticket.online/153686101d0.md): - model [model.FlightTicket](https://docs.chinaticket.online/153686102d0.md): - model [model.PriceDetail](https://docs.chinaticket.online/153686103d0.md): - model [model.PriceInFlightOriginOrder](https://docs.chinaticket.online/153686104d0.md): - model [model.PriceInFlightChangeOrder](https://docs.chinaticket.online/153686105d0.md): - model [model.PriceInFlightRefundOrder](https://docs.chinaticket.online/153686106d0.md): - model [model.PriceInFlightVoidOrder](https://docs.chinaticket.online/153686107d0.md): - model [model.FlightSolutionResp](https://docs.chinaticket.online/153686108d0.md): - model [model.FlightJourneyResp](https://docs.chinaticket.online/153686109d0.md): - model [model.FlightPriceDetail](https://docs.chinaticket.online/153686110d0.md): - model [model.FlightPrice](https://docs.chinaticket.online/153686111d0.md): - model [model.FlightTax](https://docs.chinaticket.online/153686112d0.md): - model [model.FlightSolutionLimitation](https://docs.chinaticket.online/153686113d0.md): - model [model.FlightLimitAgePair](https://docs.chinaticket.online/153686114d0.md): - Schemas [consts.PassengerType](https://docs.chinaticket.online/153686115d0.md): - Schemas [consts.Gender](https://docs.chinaticket.online/153686116d0.md): - Schemas [consts.TrainIssueWay](https://docs.chinaticket.online/153686117d0.md): - Schemas [consts.TravelDocumentType](https://docs.chinaticket.online/153686118d0.md): - Schemas [consts.TrainOrderStatus](https://docs.chinaticket.online/153686119d0.md): - Schemas [consts.TrainOrderTicketStatus](https://docs.chinaticket.online/153686120d0.md): - Schemas [consts.TrainPassengerStatus](https://docs.chinaticket.online/153686121d0.md): - Schemas [consts.TrainRefundStatus](https://docs.chinaticket.online/153686122d0.md): - Schemas [dto.PaginationList-array_resp_TrainOrderResp](https://docs.chinaticket.online/153686123d0.md): - Schemas [resp.TrainOrderResp](https://docs.chinaticket.online/153686124d0.md): - Schemas [resp.TrainOriginTicketDetail](https://docs.chinaticket.online/153686125d0.md): - Schemas [req.TrainOrderListReq](https://docs.chinaticket.online/153686126d0.md): - Schemas [response.Response-dto_PaginationList-array_resp_TrainOrderResp](https://docs.chinaticket.online/153686127d0.md): - Schemas [model.CreateTrainOriginOrderReq](https://docs.chinaticket.online/153686128d0.md): - Schemas [response.Response-resp_TrainOrderResp](https://docs.chinaticket.online/153686129d0.md): - Schemas [resp.TrainChangeDetail](https://docs.chinaticket.online/153686130d0.md): - Schemas [resp.TrainChangeTicketDetail](https://docs.chinaticket.online/153686131d0.md): - Schemas [resp.StationDetail](https://docs.chinaticket.online/153686132d0.md): - Schemas [model.ShoppingCNTrainStationsResp](https://docs.chinaticket.online/153686133d0.md): - Schemas [req.TrainShoppingReq](https://docs.chinaticket.online/153686134d0.md): - Schemas [response.Response-array_model_ShoppingCNTrainStationsResp](https://docs.chinaticket.online/153686135d0.md): - Schemas [resp.Seats](https://docs.chinaticket.online/153686136d0.md): - Schemas [resp.StationInfo](https://docs.chinaticket.online/153686137d0.md): - Schemas [response.Response-array_resp_TrainShoppingResp](https://docs.chinaticket.online/153686138d0.md): - Schemas [resp.TrainShoppingResp](https://docs.chinaticket.online/153686139d0.md):