POST Api/FareDatas/SearchSkSegments/{PageNumber}/{PageSize}

路由数据查询

Request Information

URI Parameters

NameDescriptionTypeAdditional information
PageNumber

页数

integer

Required

PageSize

页大小

integer

Required

Body Parameters

搜索模型

SpeedPower.Utility.Models.Project.SQuery.Service.FareData.SearchSkRouteModel
NameDescriptionTypeAdditional information
Carrier

承运人(航空公司)

string

String length: inclusive between 0 and 2

DepartureAirport

出发机场

string

String length: inclusive between 0 and 3

ArrivalAirport

到达机场

string

String length: inclusive between 0 and 3

FlightNo

航班号

string

String length: inclusive between 0 and 7

MinDateTime

最小查询时间

date

None.

MaxDateTime

最大查询时间

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Carrier": "sample string 1",
  "DepartureAirport": "sample string 2",
  "ArrivalAirport": "sample string 3",
  "FlightNo": "sample string 4",
  "MinDateTime": "2024-12-24T01:49:50.9222305+08:00",
  "MaxDateTime": "2024-12-24T01:49:50.9222305+08:00"
}

Response Information

Resource Description

路由数据查询

SpeedPower.Utility.Models.Helper.ResultDataGridOfSystem.Collections.Generic.IEnumerableOfSpeedPower.Utility.Models.Project.SQuery.Service.FareData.ReverseSegmentModel
NameDescriptionTypeAdditional information
RowsCount

integer

None.

Contents

Collection of SpeedPower.Utility.Models.Project.SQuery.Service.FareData.ReverseSegmentModel

None.

Response Formats

application/json, text/json

Sample:
{
  "RowsCount": 1,
  "Contents": [
    {
      "Weeks": {
        "Routes": {
          "Departure": "sample string 1",
          "Arrival": "sample string 2",
          "IssueDate": "2024-12-24T01:49:50.9222305+08:00",
          "ExpiryDate": "2024-12-24T01:49:50.9222305+08:00",
          "DataSource": "sample string 5",
          "Time": "2024-12-24T01:49:50.9222305+08:00"
        },
        "IssueDate": "2024-12-24T01:49:50.9222305+08:00",
        "ExpiryDate": "2024-12-24T01:49:50.9222305+08:00",
        "MON": true,
        "TUE": true,
        "WED": true,
        "THU": true,
        "FRI": true,
        "SAT": true,
        "SUN": true,
        "Time": "2024-12-24T01:49:50.9222305+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-24T01:49:50.9222305+08:00"
    },
    {
      "Weeks": {
        "Routes": {
          "Departure": "sample string 1",
          "Arrival": "sample string 2",
          "IssueDate": "2024-12-24T01:49:50.9222305+08:00",
          "ExpiryDate": "2024-12-24T01:49:50.9222305+08:00",
          "DataSource": "sample string 5",
          "Time": "2024-12-24T01:49:50.9222305+08:00"
        },
        "IssueDate": "2024-12-24T01:49:50.9222305+08:00",
        "ExpiryDate": "2024-12-24T01:49:50.9222305+08:00",
        "MON": true,
        "TUE": true,
        "WED": true,
        "THU": true,
        "FRI": true,
        "SAT": true,
        "SUN": true,
        "Time": "2024-12-24T01:49:50.9222305+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-24T01:49:50.9222305+08:00"
    }
  ]
}