# STTS OPEN API ## Docs - [Open API](https://docs.simplifly.tech/44333030f0.md): - Open API [flight](https://docs.simplifly.tech/44333031f0.md): - Open API [train](https://docs.simplifly.tech/51363055f0.md): ## API Docs - Open API > flight [Flight Shopping](https://docs.simplifly.tech/228807851e0.md): To get prices from multiple airlines and vendors for a certain trip - Open API > flight [Flight Pricing](https://docs.simplifly.tech/265812039e0.md): to get prices of a certain route - Open API > flight [Price validation](https://docs.simplifly.tech/228807852e0.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.simplifly.tech/228807853e0.md): It is necessary to use Price validation service before using this interface. - Open API > flight [Get order detail by external order id](https://docs.simplifly.tech/282023387e0.md): Get order detail by external order id - Open API > flight [pay an order](https://docs.simplifly.tech/228807854e0.md): - Open API > flight [cancel an order](https://docs.simplifly.tech/228807855e0.md): - Open API > flight [order detail](https://docs.simplifly.tech/228807856e0.md): fetch order detail - Open API > flight [search change solutions](https://docs.simplifly.tech/228807858e0.md): - Open API > flight [request an flight change](https://docs.simplifly.tech/228807857e0.md): - Open API > flight [request an refund](https://docs.simplifly.tech/228807860e0.md): - Open API > flight [confirm to refund the tiekct](https://docs.simplifly.tech/228807859e0.md): - Open API > flight [search refund Money](https://docs.simplifly.tech/286907712e0.md): - Open API > flight [Get Balance](https://docs.simplifly.tech/318682279e0.md): - Open API > flight [order download](https://docs.simplifly.tech/424174539e0.md): fetch order detail - Open API > train [Train shopping](https://docs.simplifly.tech/266727389e0.md): Retrieve the train schedule between two stations for a specific date. - Open API > train [Create train order](https://docs.simplifly.tech/266727384e0.md): create a train order - Open API > train [Order detail](https://docs.simplifly.tech/266727385e0.md): Retrieve an order detail - Open API > train [Cancel an order](https://docs.simplifly.tech/266727386e0.md): cancel an order before payment - Open API > train [Pay an order](https://docs.simplifly.tech/266727387e0.md): - Open API > train [Refund an order](https://docs.simplifly.tech/266727388e0.md): Ticket refund request (full/partail). - Open API > 机票 [机票查询接口](https://docs.simplifly.tech/278958257e0.md): 获取特定行程的多家航空公司及供应商的实时运价 - Open API > 机票 [精确查询接口](https://docs.simplifly.tech/279113345e0.md): 获取特定航线的价格 - Open API > 机票 [机票验价接口](https://docs.simplifly.tech/279214901e0.md): 本接口用于校验查询接口返回的价格,将返回实时价格及座位库存状态 - Open API > 机票 [创建初始订单接口](https://docs.simplifly.tech/279690888e0.md): 在机票接口文档中,使用该接口之前需要先调用价格验证服务。 - Open API > 机票 [支付订单接口](https://docs.simplifly.tech/279831693e0.md): - Open API > 机票 [取消订单接口](https://docs.simplifly.tech/279834151e0.md): - Open API > 机票 [根据外部采购商订单ID获取订单详情](https://docs.simplifly.tech/282023046e0.md): 获取订单详情 (200 原单结构; 201 改签单结构; 202 退票单结构; 203 废票单结构) - Open API > 机票 [订单详情接口](https://docs.simplifly.tech/279940885e0.md): 获取订单详情 - Open API > 机票 [改签查询接口](https://docs.simplifly.tech/279988162e0.md): - Open API > 机票 [请求改期接口](https://docs.simplifly.tech/280012907e0.md): - Open API > 机票 [请求退票接口](https://docs.simplifly.tech/280048239e0.md): - Open API > 机票 [确认退票接口](https://docs.simplifly.tech/280048256e0.md): - Open API > 机票 [查询退票费接口](https://docs.simplifly.tech/286908355e0.md): - Open API > 机票 [获取余额](https://docs.simplifly.tech/318814189e0.md): - Open API > 机票 [航变回调](https://docs.simplifly.tech/345588560e0.md): 航变回调 - Open API > 机票 [订单回调](https://docs.simplifly.tech/282869490e0.md): 请求地址为代理商下设置的订单回调地址 - Open API > 机票 [获取航空联盟的航司信息 传code 代表获取某个](https://docs.simplifly.tech/319904344e0.md): - Open API > 机票 [获取对应航司和的航空联盟【含该联盟下的航司】](https://docs.simplifly.tech/319904014e0.md): ## Schemas - request [request.FlightShoppingRequest](https://docs.simplifly.tech/128111726d0.md): - request [request.PayFlightOrderRequest](https://docs.simplifly.tech/128111727d0.md): - request [request.ChangeFlightOrderRequests](https://docs.simplifly.tech/128111728d0.md): - request [request.CreateFlightOriginOrderRequest](https://docs.simplifly.tech/128111729d0.md): - request [request.FlightChangeSearchRequest](https://docs.simplifly.tech/128111730d0.md): - request [request.RefundFlightOrderRequest](https://docs.simplifly.tech/128111731d0.md): - consts [consts.FlightOrderStatus](https://docs.simplifly.tech/128111737d0.md): - consts [consts.FlightOrderType](https://docs.simplifly.tech/128111738d0.md): - consts [consts.FlightProductType](https://docs.simplifly.tech/128111740d0.md): - consts [consts.FlightInvoiceType](https://docs.simplifly.tech/128111741d0.md): - consts [consts.FlightTaxType](https://docs.simplifly.tech/128111742d0.md): - consts [consts.PassengerEligibility](https://docs.simplifly.tech/128111743d0.md): - model [model.FlightJourneyCore](https://docs.simplifly.tech/128111744d0.md): - model [model.PassengerCountRequest](https://docs.simplifly.tech/128111745d0.md): - model [model.ChangeSegment](https://docs.simplifly.tech/128111746d0.md): - model [model.PassengerFlightOrder](https://docs.simplifly.tech/128111747d0.md): - model [model.ChangeShoppingResult](https://docs.simplifly.tech/128111748d0.md): - model [model.ChangeShoppingSegment](https://docs.simplifly.tech/128111749d0.md): - model [model.FlightSegmentInfo](https://docs.simplifly.tech/128111750d0.md): - model [model.FlightCoreSegmentCache](https://docs.simplifly.tech/128111753d0.md): - model [model.OrderDetail](https://docs.simplifly.tech/128111755d0.md): - model [model.FlightPassengerTickets](https://docs.simplifly.tech/128111761d0.md): - model [model.PriceDetail](https://docs.simplifly.tech/128111763d0.md): - model [model.PriceInFlightOriginOrder](https://docs.simplifly.tech/128111764d0.md): - model [model.PriceInFlightChangeOrder](https://docs.simplifly.tech/128111765d0.md): - model [model.PriceInFlightRefundOrder](https://docs.simplifly.tech/128111766d0.md): - model [model.PriceInFlightVoidOrder](https://docs.simplifly.tech/128111767d0.md): - model [model.FlightSolutionResp](https://docs.simplifly.tech/128111768d0.md): - model [model.FlightJourneyResp](https://docs.simplifly.tech/128111769d0.md): - model [model.FlightPriceDetail](https://docs.simplifly.tech/128111770d0.md): - model [model.FlightPrice](https://docs.simplifly.tech/128111771d0.md): - model [model.FlightTax](https://docs.simplifly.tech/128111772d0.md): - model [model.FlightSolutionLimitation](https://docs.simplifly.tech/128111773d0.md): - model [model.FlightLimitAgePair](https://docs.simplifly.tech/128111774d0.md): - Schemas [response.RequestFlightOrderStatus](https://docs.simplifly.tech/159625283d0.md): - Schemas [model.FlightChangeNotify](https://docs.simplifly.tech/198912592d0.md): - Schemas [consts.CabinClass](https://docs.simplifly.tech/128111732d0.md): - Schemas [consts.CommonStatus](https://docs.simplifly.tech/160805515d0.md): - Schemas [response.ApiResponse-response_FlightOrderDetail-response_PriceInFlightChangeOrder](https://docs.simplifly.tech/159088124d0.md): - Schemas [response.FlightOrderDetailResp](https://docs.simplifly.tech/159625284d0.md): - Schemas [response.Response-string](https://docs.simplifly.tech/198912593d0.md): - Schemas [consts.RefundReason](https://docs.simplifly.tech/128111733d0.md): - Schemas [consts.CoreDataVerifiesStatus](https://docs.simplifly.tech/160805516d0.md): - Schemas [response.FlightOrderDetail-response_PriceInFlightChangeOrder](https://docs.simplifly.tech/159088125d0.md): - Schemas [consts.PassengerType](https://docs.simplifly.tech/128111734d0.md): - Schemas [internal.AddCMSUserRequest](https://docs.simplifly.tech/160805517d0.md): - Schemas [model.FlightChangeInfo](https://docs.simplifly.tech/198912594d0.md): - Schemas [consts.Gender](https://docs.simplifly.tech/128111735d0.md): - Schemas [internal.AgenciesResp](https://docs.simplifly.tech/160805518d0.md): - Schemas [consts.TrainIssueWay](https://docs.simplifly.tech/150012604d0.md): - Schemas [consts.TravelDocumentType](https://docs.simplifly.tech/128111736d0.md): - Schemas [internal.AgencyRechargeReq](https://docs.simplifly.tech/160805519d0.md): - Schemas [consts.TrainOrderStatus](https://docs.simplifly.tech/150012605d0.md): - Schemas [internal.CNTrainStationResponse](https://docs.simplifly.tech/160805520d0.md): - Schemas [consts.TrainOrderTicketStatus](https://docs.simplifly.tech/150012606d0.md): - Schemas [internal.CNTrainStationsResponse](https://docs.simplifly.tech/160805521d0.md): - Schemas [consts.TrainPassengerStatus](https://docs.simplifly.tech/150012607d0.md): - Schemas [consts.FlightTicketStatus](https://docs.simplifly.tech/128111739d0.md): - Schemas [model.BaggageRule](https://docs.simplifly.tech/128111751d0.md): - Schemas [internal.CitiesResponse](https://docs.simplifly.tech/160805522d0.md): - Schemas [consts.TrainRefundStatus](https://docs.simplifly.tech/150012608d0.md): - Schemas [model.BaggageRuleDetail](https://docs.simplifly.tech/128111752d0.md): - Schemas [internal.CountriesResponseItem](https://docs.simplifly.tech/160805523d0.md): - Schemas [dto.PaginationList-array_resp_TrainOrderResp](https://docs.simplifly.tech/150012609d0.md): - Schemas [internal.CountryResponse](https://docs.simplifly.tech/160805524d0.md): - Schemas [resp.TrainOrderResp](https://docs.simplifly.tech/150012610d0.md): - Schemas [model.StopOver](https://docs.simplifly.tech/128111754d0.md): - Schemas [internal.CreateAgenciesRequest](https://docs.simplifly.tech/160805525d0.md): - Schemas [resp.TrainOriginTicketDetail](https://docs.simplifly.tech/150012611d0.md): - Schemas [internal.CreateCNTrainStationsRequest](https://docs.simplifly.tech/160805526d0.md): - Schemas [req.TrainOrderListReq](https://docs.simplifly.tech/150012612d0.md): - Schemas [consts.FlightChangeType](https://docs.simplifly.tech/159088126d0.md): - Schemas [model.FareRule](https://docs.simplifly.tech/128111756d0.md): - Schemas [internal.CreateCityRequest](https://docs.simplifly.tech/160805527d0.md): - Schemas [response.Response-dto_PaginationList-array_resp_TrainOrderResp](https://docs.simplifly.tech/150012613d0.md): - Schemas [model.FlightPassenger](https://docs.simplifly.tech/159088127d0.md): - Schemas [model.FlightJourney](https://docs.simplifly.tech/128111757d0.md): - Schemas [internal.CreateCountryRequest](https://docs.simplifly.tech/160805528d0.md): - Schemas [model.CreateTrainOriginOrderReq](https://docs.simplifly.tech/150012614d0.md): - Schemas [model.FlightSegmentWithCoreSegment](https://docs.simplifly.tech/128111758d0.md): - Schemas [internal.CreateOrganizationsRequest](https://docs.simplifly.tech/160805529d0.md): - Schemas [response.Response-resp_TrainOrderResp](https://docs.simplifly.tech/150012615d0.md): - Schemas [util.Gender](https://docs.simplifly.tech/159088128d0.md): - Schemas [model.CoreSegmentDetail](https://docs.simplifly.tech/128111759d0.md): - Schemas [internal.ForgetPasswordRequest](https://docs.simplifly.tech/160805530d0.md): - Schemas [resp.TrainChangeDetail](https://docs.simplifly.tech/150012616d0.md): - Schemas [util.PassengerType](https://docs.simplifly.tech/159088129d0.md): - Schemas [model.FlightScheduleChange](https://docs.simplifly.tech/128111760d0.md): - Schemas [internal.GetAgencyBalanceChangesItem](https://docs.simplifly.tech/160805531d0.md): - Schemas [resp.TrainChangeTicketDetail](https://docs.simplifly.tech/150012617d0.md): - Schemas [util.TravelDocumentType](https://docs.simplifly.tech/159088130d0.md): - Schemas [internal.GetAgencyCreditHistoriesItem](https://docs.simplifly.tech/160805532d0.md): - Schemas [resp.StationDetail](https://docs.simplifly.tech/150012618d0.md): - Schemas [model.FlightTicket](https://docs.simplifly.tech/128111762d0.md): - Schemas [internal.GetAgencyMembersItem](https://docs.simplifly.tech/160805533d0.md): - Schemas [model.ShoppingCNTrainStationsResp](https://docs.simplifly.tech/150012619d0.md): - Schemas [model.OrderExtraInfo](https://docs.simplifly.tech/159088131d0.md): - Schemas [req.TrainShoppingReq](https://docs.simplifly.tech/150012715d0.md): - Schemas [internal.GetAgencyTransactionsItem](https://docs.simplifly.tech/160805534d0.md): - Schemas [response.Response-array_model_ShoppingCNTrainStationsResp](https://docs.simplifly.tech/150012620d0.md): - Schemas [resp.Seats](https://docs.simplifly.tech/150012716d0.md): - Schemas [internal.GetOrganizationDetailResponse](https://docs.simplifly.tech/160805535d0.md): - Schemas [util.FlightOrderStatus](https://docs.simplifly.tech/159088132d0.md): - Schemas [resp.StationInfo](https://docs.simplifly.tech/150012717d0.md): - Schemas [internal.GetOrganizationsByUserIDResponse](https://docs.simplifly.tech/160805536d0.md): - Schemas [util.FlightOrderType](https://docs.simplifly.tech/159088133d0.md): - Schemas [response.Response-array_resp_TrainShoppingResp](https://docs.simplifly.tech/150012718d0.md): - Schemas [internal.GetUserInfoByEmailResponse](https://docs.simplifly.tech/160805537d0.md): - Schemas [response.PriceDetailInFlightOrder-response_PriceInFlightChangeOrder](https://docs.simplifly.tech/159088134d0.md): - Schemas [resp.TrainShoppingResp](https://docs.simplifly.tech/150012719d0.md): - Schemas [internal.GetUserResponse](https://docs.simplifly.tech/160805538d0.md): - Schemas [util.FlightProductType](https://docs.simplifly.tech/159088135d0.md): - Schemas [internal.GetUsersByOrganizationIDRequest](https://docs.simplifly.tech/160805539d0.md): - Schemas [response.PriceInFlightChangeOrder](https://docs.simplifly.tech/159088136d0.md): - Schemas [internal.InviteUserRequest](https://docs.simplifly.tech/160805540d0.md): - Schemas [response.ApiResponse-response_FlightOrderDetail-response_PriceInFlightOriginOrder](https://docs.simplifly.tech/159088137d0.md): - Schemas [internal.LoginRequest](https://docs.simplifly.tech/160805541d0.md): - Schemas [response.FlightOrderDetail-response_PriceInFlightOriginOrder](https://docs.simplifly.tech/159088138d0.md): - Schemas [internal.LoginResponse](https://docs.simplifly.tech/160805542d0.md): - Schemas [response.PriceDetailInFlightOrder-response_PriceInFlightOriginOrder](https://docs.simplifly.tech/159088139d0.md): - Schemas [internal.Org4GetUserResponse](https://docs.simplifly.tech/160805543d0.md): - Schemas [response.PriceInFlightOriginOrder](https://docs.simplifly.tech/159088140d0.md): - Schemas [internal.Org4LoginResponse](https://docs.simplifly.tech/160805544d0.md): - Schemas [response.ApiResponse-response_FlightOrderDetail-response_PriceInFlightRefundOrder](https://docs.simplifly.tech/159088141d0.md): - Schemas [internal.OrganizationInviteRequest](https://docs.simplifly.tech/160805545d0.md): - Schemas [response.FlightOrderDetail-response_PriceInFlightRefundOrder](https://docs.simplifly.tech/159088142d0.md): - Schemas [internal.OrganizationResponse](https://docs.simplifly.tech/160805546d0.md): - Schemas [response.PriceDetailInFlightOrder-response_PriceInFlightRefundOrder](https://docs.simplifly.tech/159088143d0.md): - Schemas [internal.OwnerDataOfOrganization](https://docs.simplifly.tech/160805547d0.md): - Schemas [response.PriceInFlightRefundOrder](https://docs.simplifly.tech/159088144d0.md): - Schemas [internal.PaginationResp-internal_AgenciesResp](https://docs.simplifly.tech/160805548d0.md): - Schemas [response.ApiResponse-response_FlightOrderDetail-response_PriceInFlightVoidOrder](https://docs.simplifly.tech/159088145d0.md): - Schemas [internal.PaginationResp-internal_CNTrainStationsResponse](https://docs.simplifly.tech/160805549d0.md): - Schemas [response.FlightOrderDetail-response_PriceInFlightVoidOrder](https://docs.simplifly.tech/159088146d0.md): - Schemas [internal.PaginationResp-internal_CitiesResponse](https://docs.simplifly.tech/160805550d0.md): - Schemas [response.PriceDetailInFlightOrder-response_PriceInFlightVoidOrder](https://docs.simplifly.tech/159088147d0.md): - Schemas [internal.PaginationResp-internal_CountriesResponseItem](https://docs.simplifly.tech/160805551d0.md): - Schemas [response.PriceInFlightVoidOrder](https://docs.simplifly.tech/159088148d0.md): - Schemas [internal.PaginationResp-internal_GetAgencyBalanceChangesItem](https://docs.simplifly.tech/160805552d0.md): - Schemas [internal.PaginationResp-internal_GetAgencyCreditHistoriesItem](https://docs.simplifly.tech/160805553d0.md): - Schemas [internal.PaginationResp-internal_GetAgencyMembersItem](https://docs.simplifly.tech/160805554d0.md): - Schemas [internal.PaginationResp-internal_GetAgencyTransactionsItem](https://docs.simplifly.tech/160805555d0.md): - Schemas [internal.PaginationResp-internal_OrganizationResponse](https://docs.simplifly.tech/160805556d0.md): - Schemas [internal.PaginationResp-internal_User4GetAgencyUsersResponse](https://docs.simplifly.tech/160805557d0.md): - Schemas [internal.PaginationResp-internal_User4GetUsersResponse](https://docs.simplifly.tech/160805558d0.md): - Schemas [internal.PaginationResp-internal_UsersByOrganizationIDResponse](https://docs.simplifly.tech/160805559d0.md): - Schemas [internal.ResetPasswordRequest](https://docs.simplifly.tech/160805560d0.md): - Schemas [internal.RoleForOrganization](https://docs.simplifly.tech/160805561d0.md): - Schemas [internal.RoleForUser](https://docs.simplifly.tech/160805562d0.md): - Schemas [internal.TransactionType](https://docs.simplifly.tech/160805563d0.md): - Schemas [internal.UpdateACLRequest](https://docs.simplifly.tech/160805564d0.md): - Schemas [internal.UpdateAgencyCreditReq](https://docs.simplifly.tech/160805565d0.md): - Schemas [internal.UpdateAgencyUserRequest](https://docs.simplifly.tech/160805566d0.md): - Schemas [internal.UpdateCNTrainStationsRequest](https://docs.simplifly.tech/160805567d0.md): - Schemas [internal.UpdateCityRequest](https://docs.simplifly.tech/160805568d0.md): - Schemas [internal.UpdateCountryRequest](https://docs.simplifly.tech/160805569d0.md): - Schemas [internal.UpdateOrganizationsRequest](https://docs.simplifly.tech/160805570d0.md): - Schemas [internal.UpdatePasswordRequest](https://docs.simplifly.tech/160805571d0.md): - Schemas [internal.UpdateUserRequest](https://docs.simplifly.tech/160805572d0.md): - Schemas [internal.User4GetAgencyUsersResponse](https://docs.simplifly.tech/160805573d0.md): - Schemas [internal.User4GetUsersResponse](https://docs.simplifly.tech/160805574d0.md): - Schemas [internal.UserDataOfAgency](https://docs.simplifly.tech/160805575d0.md): - Schemas [internal.UsersByOrganizationIDResponse](https://docs.simplifly.tech/160805576d0.md): - Schemas [model.BillPeriodUnit](https://docs.simplifly.tech/160805577d0.md): - Schemas [model.OrganizationUserStatus](https://docs.simplifly.tech/160805578d0.md): - Schemas [model.TransactionChannel](https://docs.simplifly.tech/160805579d0.md): - Schemas [response.Response-any](https://docs.simplifly.tech/160805580d0.md): - Schemas [response.Response-array_internal_GetOrganizationsByUserIDResponse](https://docs.simplifly.tech/160805581d0.md): - Schemas [response.Response-internal_CNTrainStationResponse](https://docs.simplifly.tech/160805582d0.md): - Schemas [response.Response-internal_CitiesResponse](https://docs.simplifly.tech/160805583d0.md): - Schemas [response.Response-internal_CountryResponse](https://docs.simplifly.tech/160805584d0.md): - Schemas [response.Response-internal_GetOrganizationDetailResponse](https://docs.simplifly.tech/160805585d0.md): - Schemas [response.Response-internal_GetUserInfoByEmailResponse](https://docs.simplifly.tech/160805586d0.md): - Schemas [response.Response-internal_GetUserResponse](https://docs.simplifly.tech/160805587d0.md): - Schemas [response.Response-internal_LoginResponse](https://docs.simplifly.tech/160805588d0.md): - Schemas [response.Response-internal_PaginationResp-internal_AgenciesResp](https://docs.simplifly.tech/160805589d0.md): - Schemas [response.Response-internal_PaginationResp-internal_CNTrainStationsResponse](https://docs.simplifly.tech/160805590d0.md): - Schemas [response.Response-internal_PaginationResp-internal_CitiesResponse](https://docs.simplifly.tech/160805591d0.md): - Schemas [response.Response-internal_PaginationResp-internal_CountriesResponseItem](https://docs.simplifly.tech/160805592d0.md): - Schemas [response.Response-internal_PaginationResp-internal_GetAgencyBalanceChangesItem](https://docs.simplifly.tech/160805593d0.md): - Schemas [response.Response-internal_PaginationResp-internal_GetAgencyCreditHistoriesItem](https://docs.simplifly.tech/160805594d0.md): - Schemas [response.Response-internal_PaginationResp-internal_GetAgencyMembersItem](https://docs.simplifly.tech/160805595d0.md): - Schemas [response.Response-internal_PaginationResp-internal_GetAgencyTransactionsItem](https://docs.simplifly.tech/160805596d0.md): - Schemas [response.Response-internal_PaginationResp-internal_OrganizationResponse](https://docs.simplifly.tech/160805597d0.md): - Schemas [response.Response-internal_PaginationResp-internal_User4GetAgencyUsersResponse](https://docs.simplifly.tech/160805598d0.md): - Schemas [response.Response-internal_PaginationResp-internal_User4GetUsersResponse](https://docs.simplifly.tech/160805599d0.md): - Schemas [response.Response-internal_PaginationResp-internal_UsersByOrganizationIDResponse](https://docs.simplifly.tech/160805600d0.md): - Schemas [sql.NullTime](https://docs.simplifly.tech/160805601d0.md):