GET Api/Invoke/UpdateStopSegments

更新全量经停航班路由数据(只含有Stop)

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

更新全量经停航班路由数据(只含有Stop)

Collection of SpeedPower.Utility.Models.Project.SQuery.Service.FareData.ParentSegmentModel
NameDescriptionTypeAdditional information
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

Sample:
[
  {
    "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:57:55.1014935+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:57:55.1014935+08:00"
  }
]