GET Api/Invoke/GetSkSegment/{DepartureAirport}/{ArrivalAirport}/{FlightNo}
获取指定航班信息(含Stop及Week及Route结点)(Real)
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
DepartureAirport |
出发机场 |
string |
Required |
ArrivalAirport |
到达机场 |
string |
Required |
FlightNo |
航班号 |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
获取指定航班信息(含Stop及Week及Route结点)(Real)
SpeedPower.Utility.Models.Project.SQuery.Service.FareData.ReverseSegmentModelName | Description | Type | Additional information |
---|---|---|---|
Weeks |
适用星期结构 |
SpeedPower.Utility.Models.Project.SQuery.Service.FareData.ReverseWeekModel |
None. |
Stops |
经停点列表 |
Collection of SpeedPower.Utility.Models.Project.SQuery.Service.FareData.GetStopsModel |
None. |
Sequence |
行程序列 |
integer |
None. |
Carrier |
承运人 |
string |
Required String length: inclusive between 0 and 2 |
DepartureAirport |
出发机场 |
string |
Required String length: inclusive between 0 and 3 |
ArrivalAirport |
到达机场 |
string |
Required String length: inclusive between 0 and 3 |
DepartureTime |
出发时间(08:00) |
string |
Required String length: inclusive between 0 and 6 |
ArrivalTime |
到达时间(10:00) |
string |
Required String length: inclusive between 0 and 6 |
Meal |
餐食 |
string |
String length: inclusive between 0 and 7 |
PlaneType |
机型 |
string |
Required String length: inclusive between 0 and 7 |
CodeShare |
是否为共享行程 |
boolean |
None. |
FlightNo |
航班号 |
string |
Required String length: inclusive between 0 and 7 |
ShareToFlightNo |
主飞航班号 |
string |
String length: inclusive between 0 and 7 |
ShareToCarrier |
主飞航空公司 |
string |
String length: inclusive between 0 and 2 |
StopTimes |
经停次数 |
integer |
None. |
DepartureTerminal |
出发航站楼 |
string |
String length: inclusive between 0 and 4 |
ArrivalTerminal |
到达航站楼 |
string |
String length: inclusive between 0 and 4 |
Time |
添加时间 |
date |
None. |
Response Formats
application/json, text/json
{ "Weeks": { "Routes": { "Departure": "sample string 1", "Arrival": "sample string 2", "IssueDate": "2024-12-24T02:17:05.3282944+08:00", "ExpiryDate": "2024-12-24T02:17:05.3282944+08:00", "DataSource": "sample string 5", "Time": "2024-12-24T02:17:05.3282944+08:00" }, "IssueDate": "2024-12-24T02:17:05.3282944+08:00", "ExpiryDate": "2024-12-24T02:17:05.3282944+08:00", "MON": true, "TUE": true, "WED": true, "THU": true, "FRI": true, "SAT": true, "SUN": true, "Time": "2024-12-24T02:17:05.3282944+08:00" }, "Stops": [ { "Sequence": 1, "DepartureAirport": "sample string 2", "ArrivalAirport": "sample string 3", "DepartureTime": "sample string 4", "ArrivalTime": "sample string 5", "Week": "sample string 6", "FlightTime": "sample string 7", "DepartureTerminal": "sample string 8", "ArrivalTerminal": "sample string 9" }, { "Sequence": 1, "DepartureAirport": "sample string 2", "ArrivalAirport": "sample string 3", "DepartureTime": "sample string 4", "ArrivalTime": "sample string 5", "Week": "sample string 6", "FlightTime": "sample string 7", "DepartureTerminal": "sample string 8", "ArrivalTerminal": "sample string 9" } ], "Sequence": 1, "Carrier": "sample string 2", "DepartureAirport": "sample string 3", "ArrivalAirport": "sample string 4", "DepartureTime": "sample string 5", "ArrivalTime": "sample string 6", "Meal": "sample string 7", "PlaneType": "sample string 8", "CodeShare": true, "FlightNo": "sample string 10", "ShareToFlightNo": "sample string 11", "ShareToCarrier": "sample string 12", "StopTimes": 13, "DepartureTerminal": "sample string 14", "ArrivalTerminal": "sample string 15", "Time": "2024-12-24T02:17:05.3282944+08:00" }