POST Api/Invoke/QuerySotaRoutes/{Carrier}/{Departure}/{Arrival}/{Date}
查询单程抓取数据
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
Carrier |
航空公司2字码 |
string |
Required |
Departure |
出发地 |
string |
Required |
Arrival |
到达地 |
string |
Required |
Date |
出发日期 |
date |
Required |
Body Parameters
数据源代码列表
Collection of stringRequest Formats
application/json, text/json
Sample:
[ "sample string 1", "sample string 2" ]
Response Information
Resource Description
查询单程抓取数据
Collection of SpeedPower.Utility.Models.Project.SQuery.Service.FareData.ReverseSotaSegmentModelName | Description | Type | Additional information |
---|---|---|---|
SotaRoutes |
主路由项 |
SpeedPower.Utility.Models.Project.SQuery.Service.FareData.GetSotaRouteModel |
None. |
SotaCabins |
行程舱位列表 |
Collection of SpeedPower.Utility.Models.Project.SQuery.Service.FareData.GetSotaCabinModel |
None. |
SotaStops |
行程经停列表 |
Collection of SpeedPower.Utility.Models.Project.SQuery.Service.FareData.GetSotaStopMode |
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 |
DepartureDate |
出发日期时间 |
date |
None. |
ArrivalDate |
到达日期时间 |
date |
None. |
FlightNo |
航班号 |
string |
Required String length: inclusive between 0 and 7 |
StopTimes |
经停次数 |
integer |
None. |
CodeShare |
是否为共享航班 |
boolean |
None. |
ShareToFlightNo |
主飞航班 |
string |
String length: inclusive between 0 and 7 |
Meal |
餐食 |
string |
String length: inclusive between 0 and 7 |
PlaneType |
机型 |
string |
String length: inclusive between 0 and 7 |
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
Sample:
[ { "SotaRoutes": { "Departure": "sample string 1", "Arrival": "sample string 2", "Date": "2024-12-24T02:23:54.5616607+08:00", "DataSource": "sample string 4", "Time": "2024-12-24T02:23:54.5616607+08:00" }, "SotaCabins": [ { "CabinLevel": 0, "CabinName": "sample string 1", "CabinCode": "sample string 2", "CabinStatus": 3, "CabinQuota": 4, "PrintPrice": 5, "AdultPrice": 6, "ChildPrice": 7, "BabyPrice": 8, "FareTax": 9, "FuelTax": 10, "CabinRule": "sample string 11", "RefundRule": "sample string 12", "ChangeRule": "sample string 13", "ModifyRule": "sample string 14" }, { "CabinLevel": 0, "CabinName": "sample string 1", "CabinCode": "sample string 2", "CabinStatus": 3, "CabinQuota": 4, "PrintPrice": 5, "AdultPrice": 6, "ChildPrice": 7, "BabyPrice": 8, "FareTax": 9, "FuelTax": 10, "CabinRule": "sample string 11", "RefundRule": "sample string 12", "ChangeRule": "sample string 13", "ModifyRule": "sample string 14" } ], "SotaStops": [ { "Sequence": 1, "DepartureAirport": "sample string 2", "ArrivalAirport": "sample string 3", "DepartureTime": "sample string 4", "ArrivalTime": "sample string 5", "DepartureTerminal": "sample string 6", "ArrivalTerminal": "sample string 7" }, { "Sequence": 1, "DepartureAirport": "sample string 2", "ArrivalAirport": "sample string 3", "DepartureTime": "sample string 4", "ArrivalTime": "sample string 5", "DepartureTerminal": "sample string 6", "ArrivalTerminal": "sample string 7" } ], "Carrier": "sample string 1", "DepartureAirport": "sample string 2", "ArrivalAirport": "sample string 3", "DepartureDate": "2024-12-24T02:23:54.5616607+08:00", "ArrivalDate": "2024-12-24T02:23:54.5616607+08:00", "FlightNo": "sample string 6", "StopTimes": 7, "CodeShare": true, "ShareToFlightNo": "sample string 9", "Meal": "sample string 10", "PlaneType": "sample string 11", "DepartureTerminal": "sample string 12", "ArrivalTerminal": "sample string 13", "Time": "2024-12-24T02:23:54.5616607+08:00" }, { "SotaRoutes": { "Departure": "sample string 1", "Arrival": "sample string 2", "Date": "2024-12-24T02:23:54.5616607+08:00", "DataSource": "sample string 4", "Time": "2024-12-24T02:23:54.5616607+08:00" }, "SotaCabins": [ { "CabinLevel": 0, "CabinName": "sample string 1", "CabinCode": "sample string 2", "CabinStatus": 3, "CabinQuota": 4, "PrintPrice": 5, "AdultPrice": 6, "ChildPrice": 7, "BabyPrice": 8, "FareTax": 9, "FuelTax": 10, "CabinRule": "sample string 11", "RefundRule": "sample string 12", "ChangeRule": "sample string 13", "ModifyRule": "sample string 14" }, { "CabinLevel": 0, "CabinName": "sample string 1", "CabinCode": "sample string 2", "CabinStatus": 3, "CabinQuota": 4, "PrintPrice": 5, "AdultPrice": 6, "ChildPrice": 7, "BabyPrice": 8, "FareTax": 9, "FuelTax": 10, "CabinRule": "sample string 11", "RefundRule": "sample string 12", "ChangeRule": "sample string 13", "ModifyRule": "sample string 14" } ], "SotaStops": [ { "Sequence": 1, "DepartureAirport": "sample string 2", "ArrivalAirport": "sample string 3", "DepartureTime": "sample string 4", "ArrivalTime": "sample string 5", "DepartureTerminal": "sample string 6", "ArrivalTerminal": "sample string 7" }, { "Sequence": 1, "DepartureAirport": "sample string 2", "ArrivalAirport": "sample string 3", "DepartureTime": "sample string 4", "ArrivalTime": "sample string 5", "DepartureTerminal": "sample string 6", "ArrivalTerminal": "sample string 7" } ], "Carrier": "sample string 1", "DepartureAirport": "sample string 2", "ArrivalAirport": "sample string 3", "DepartureDate": "2024-12-24T02:23:54.5616607+08:00", "ArrivalDate": "2024-12-24T02:23:54.5616607+08:00", "FlightNo": "sample string 6", "StopTimes": 7, "CodeShare": true, "ShareToFlightNo": "sample string 9", "Meal": "sample string 10", "PlaneType": "sample string 11", "DepartureTerminal": "sample string 12", "ArrivalTerminal": "sample string 13", "Time": "2024-12-24T02:23:54.5616607+08:00" } ]