GET Api/Invoke/ExportNfdFares/{Carrier}

导出NFD数据(含主表数据)

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Carrier

航空公司

string

Required

Body Parameters

None.

Response Information

Resource Description

导出NFD数据(含主表数据)

Collection of SpeedPower.Utility.Models.Project.SQuery.Service.FareData.ReverseNfdFareModel
NameDescriptionTypeAdditional information
FareRoutes

行程主路由

SpeedPower.Utility.Models.Project.SQuery.Service.FareData.GetFareRouteModel

None.

NfdFlightNos

航班号限制列表

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

None.

NfdTimeSlots

出票时间限制列表

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

None.

NftCommand

是否为NFT指令来源

boolean

None.

Carrier

承运人

string

Required

String length: inclusive between 0 and 2

ParentCode

父舱位

string

Required

String length: inclusive between 0 and 3

CabinCode

舱位代码

string

Required

String length: inclusive between 0 and 3

CodeShare

是否支持共享航班

boolean

None.

BeforeDays

最早提前出票天数

integer

None.

EndDays

最晚截止出票天数据

integer

None.

IssueDate

出票有效期开始

date

None.

ExpiryDate

出票有效期结束

date

None.

TravelIssueDate

旅行有效期开始

date

None.

TravelExpiryDate

旅行有效期结束

date

None.

AdultPrice

成人价格

integer

None.

ChildPrice

儿童价格

integer

None.

BabyPrice

婴儿价格

integer

None.

MON

周一是否适用

boolean

None.

TUE

周二是否适用

boolean

None.

WED

周三是否适用

boolean

None.

THU

周四是否适用

boolean

None.

FRI

周五是否适用

boolean

None.

SAT

周六是否适用

boolean

None.

SUN

周日是否适用

boolean

None.

StayMin

最小停留

string

Required

String length: inclusive between 0 and 4

StayMax

最大停留

string

Required

String length: inclusive between 0 and 4

TransitAirport

中转机场

string

String length: inclusive between 0 and 3

Time

添加时间

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "FareRoutes": {
      "Departure": "sample string 1",
      "Arrival": "sample string 2",
      "Distance": 3,
      "DataSource": "sample string 4",
      "Time": "2024-12-24T02:24:43.6443457+08:00"
    },
    "NfdFlightNos": [
      {
        "IssueNo": "sample string 1",
        "ExpiryNo": "sample string 2"
      },
      {
        "IssueNo": "sample string 1",
        "ExpiryNo": "sample string 2"
      }
    ],
    "NfdTimeSlots": [
      {
        "IssueTime": "sample string 1",
        "ExpiryTime": "sample string 2"
      },
      {
        "IssueTime": "sample string 1",
        "ExpiryTime": "sample string 2"
      }
    ],
    "NftCommand": true,
    "Carrier": "sample string 2",
    "ParentCode": "sample string 3",
    "CabinCode": "sample string 4",
    "CodeShare": true,
    "BeforeDays": 6,
    "EndDays": 7,
    "IssueDate": "2024-12-24T02:24:43.6443457+08:00",
    "ExpiryDate": "2024-12-24T02:24:43.6443457+08:00",
    "TravelIssueDate": "2024-12-24T02:24:43.6443457+08:00",
    "TravelExpiryDate": "2024-12-24T02:24:43.6443457+08:00",
    "AdultPrice": 12,
    "ChildPrice": 13,
    "BabyPrice": 14,
    "MON": true,
    "TUE": true,
    "WED": true,
    "THU": true,
    "FRI": true,
    "SAT": true,
    "SUN": true,
    "StayMin": "sample string 22",
    "StayMax": "sample string 23",
    "TransitAirport": "sample string 24",
    "Time": "2024-12-24T02:24:43.6599644+08:00"
  },
  {
    "FareRoutes": {
      "Departure": "sample string 1",
      "Arrival": "sample string 2",
      "Distance": 3,
      "DataSource": "sample string 4",
      "Time": "2024-12-24T02:24:43.6443457+08:00"
    },
    "NfdFlightNos": [
      {
        "IssueNo": "sample string 1",
        "ExpiryNo": "sample string 2"
      },
      {
        "IssueNo": "sample string 1",
        "ExpiryNo": "sample string 2"
      }
    ],
    "NfdTimeSlots": [
      {
        "IssueTime": "sample string 1",
        "ExpiryTime": "sample string 2"
      },
      {
        "IssueTime": "sample string 1",
        "ExpiryTime": "sample string 2"
      }
    ],
    "NftCommand": true,
    "Carrier": "sample string 2",
    "ParentCode": "sample string 3",
    "CabinCode": "sample string 4",
    "CodeShare": true,
    "BeforeDays": 6,
    "EndDays": 7,
    "IssueDate": "2024-12-24T02:24:43.6443457+08:00",
    "ExpiryDate": "2024-12-24T02:24:43.6443457+08:00",
    "TravelIssueDate": "2024-12-24T02:24:43.6443457+08:00",
    "TravelExpiryDate": "2024-12-24T02:24:43.6443457+08:00",
    "AdultPrice": 12,
    "ChildPrice": 13,
    "BabyPrice": 14,
    "MON": true,
    "TUE": true,
    "WED": true,
    "THU": true,
    "FRI": true,
    "SAT": true,
    "SUN": true,
    "StayMin": "sample string 22",
    "StayMax": "sample string 23",
    "TransitAirport": "sample string 24",
    "Time": "2024-12-24T02:24:43.6599644+08:00"
  }
]