POST Api/FareDatas/SearchSotaRoutes/{PageNumber}/{PageSize}
单程报价数据查询
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
PageNumber |
页数 |
integer |
Required |
PageSize |
页大小 |
integer |
Required |
Body Parameters
搜索模型
SpeedPower.Utility.Models.Project.SQuery.Service.FareData.SearchSotaRouteModelName | Description | Type | Additional information |
---|---|---|---|
Carrier |
承运人(航空公司) |
string |
String length: inclusive between 0 and 2 |
Departure |
出发地 |
string |
String length: inclusive between 0 and 3 |
Arrival |
到达地 |
string |
String length: inclusive between 0 and 3 |
FlightNo |
航班号 |
string |
String length: inclusive between 0 and 7 |
DataSource |
数据来源标识 |
string |
String length: inclusive between 0 and 20 |
Date |
出发日期 |
date |
None. |
MinDateTime |
最小查询时间 |
date |
None. |
MaxDateTime |
最大查询时间 |
date |
None. |
Request Formats
application/json, text/json
Sample:
{ "Carrier": "sample string 1", "Departure": "sample string 2", "Arrival": "sample string 3", "FlightNo": "sample string 4", "DataSource": "sample string 5", "Date": "2024-12-24T02:35:01.0469969+08:00", "MinDateTime": "2024-12-24T02:35:01.0469969+08:00", "MaxDateTime": "2024-12-24T02:35:01.0469969+08:00" }
Response Information
Resource Description
单程报价数据查询
SpeedPower.Utility.Models.Helper.ResultDataGridOfSystem.Collections.Generic.IEnumerableOfSpeedPower.Utility.Models.Project.SQuery.Service.FareData.ReverseSotaSegmentModelName | Description | Type | Additional information |
---|---|---|---|
RowsCount | integer |
None. |
|
Contents | Collection of SpeedPower.Utility.Models.Project.SQuery.Service.FareData.ReverseSotaSegmentModel |
None. |
Response Formats
application/json, text/json
Sample:
{ "RowsCount": 1, "Contents": [ { "SotaRoutes": { "Departure": "sample string 1", "Arrival": "sample string 2", "Date": "2024-12-24T02:35:01.0469969+08:00", "DataSource": "sample string 4", "Time": "2024-12-24T02:35:01.0469969+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:35:01.0469969+08:00", "ArrivalDate": "2024-12-24T02:35:01.0469969+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:35:01.0469969+08:00" }, { "SotaRoutes": { "Departure": "sample string 1", "Arrival": "sample string 2", "Date": "2024-12-24T02:35:01.0469969+08:00", "DataSource": "sample string 4", "Time": "2024-12-24T02:35:01.0469969+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:35:01.0469969+08:00", "ArrivalDate": "2024-12-24T02:35:01.0469969+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:35:01.0469969+08:00" } ] }