GET Api/Invoke/GetSkRoute/{Departure}/{Arrival}

获取第一条最新主路由表信息(只含Segments结点)(Real)

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Departure

string

Required

Arrival

string

Required

Body Parameters

None.

Response Information

Resource Description

获取第一条最新主路由表信息(只含Segments结点)(Real)

SpeedPower.Utility.Models.Project.SQuery.Service.FareData.ParentSkRouteModel
NameDescriptionTypeAdditional information
Weeks

行程适用周期列表

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

None.

Routings

路由适用周期列表

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

None.

Departure

出发地

string

Required

String length: inclusive between 0 and 3

Arrival

到达地

string

Required

String length: inclusive between 0 and 3

IssueDate

路由有效期开始

date

None.

ExpiryDate

路由有效期结束

date

None.

DataSource

数据来源标识

string

Required

String length: inclusive between 0 and 50

Time

最后更新时间

date

None.

Response Formats

application/json, text/json

Sample:
{
  "Weeks": [
    {
      "Segments": [
        {
          "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:02:31.7270627+08:00"
        },
        {
          "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:02:31.7270627+08:00"
        }
      ],
      "IssueDate": "2024-12-24T02:02:31.7270627+08:00",
      "ExpiryDate": "2024-12-24T02:02:31.7270627+08:00",
      "MON": true,
      "TUE": true,
      "WED": true,
      "THU": true,
      "FRI": true,
      "SAT": true,
      "SUN": true,
      "Time": "2024-12-24T02:02:31.7270627+08:00"
    },
    {
      "Segments": [
        {
          "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:02:31.7270627+08:00"
        },
        {
          "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:02:31.7270627+08:00"
        }
      ],
      "IssueDate": "2024-12-24T02:02:31.7270627+08:00",
      "ExpiryDate": "2024-12-24T02:02:31.7270627+08:00",
      "MON": true,
      "TUE": true,
      "WED": true,
      "THU": true,
      "FRI": true,
      "SAT": true,
      "SUN": true,
      "Time": "2024-12-24T02:02:31.7270627+08:00"
    }
  ],
  "Routings": [
    {
      "Carrier": "sample string 1",
      "MON": true,
      "TUE": true,
      "WED": true,
      "THU": true,
      "FRI": true,
      "SAT": true,
      "SUN": true,
      "Time": "2024-12-24T02:02:31.7270627+08:00"
    },
    {
      "Carrier": "sample string 1",
      "MON": true,
      "TUE": true,
      "WED": true,
      "THU": true,
      "FRI": true,
      "SAT": true,
      "SUN": true,
      "Time": "2024-12-24T02:02:31.7270627+08:00"
    }
  ],
  "Departure": "sample string 1",
  "Arrival": "sample string 2",
  "IssueDate": "2024-12-24T02:02:31.7270627+08:00",
  "ExpiryDate": "2024-12-24T02:02:31.7270627+08:00",
  "DataSource": "sample string 5",
  "Time": "2024-12-24T02:02:31.7270627+08:00"
}