GET Api/Invoke/GetStandardFdFare/{Carrier}/{Departure}/{Arrival}/{CabinLevel}

获取指定FD标准运价数据列表(Cache)

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Carrier

航空公司

string

Required

Departure

出发地

string

Required

Arrival

到达地

string

Required

CabinLevel

舱位级别

SpeedPower.Utility.Models.Service.Eterms.Enums.CabinLevelType

Required

Body Parameters

None.

Response Information

Resource Description

获取指定FD标准运价数据列表(Cache)

SpeedPower.Utility.Models.Project.SQuery.Service.FareData.ReverseFdFareModel
NameDescriptionTypeAdditional information
FareRoutes

行程主路由

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

None.

Carrier

承运人

string

Required

String length: inclusive between 0 and 2

CabinLevel

舱位级别

SpeedPower.Utility.Models.Service.Eterms.Enums.CabinLevelType

None.

ParentCode

父舱位

string

Required

String length: inclusive between 0 and 3

CabinCode

舱位代码

string

Required

String length: inclusive between 0 and 3

AdultPrice

成人价格

integer

None.

ChildPrice

儿童价格

integer

None.

BabyPrice

婴儿价格

integer

None.

IssueDate

报价有效期开始

date

None.

ExpiryDate

报价有效期结束

date

None.

Notes

备注

string

String length: inclusive between 0 and 50

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-10-22T15:42:16.0929298+08:00"
  },
  "Carrier": "sample string 1",
  "CabinLevel": 0,
  "ParentCode": "sample string 2",
  "CabinCode": "sample string 3",
  "AdultPrice": 4,
  "ChildPrice": 5,
  "BabyPrice": 6,
  "IssueDate": "2024-10-22T15:42:16.0929298+08:00",
  "ExpiryDate": "2024-10-22T15:42:16.0929298+08:00",
  "Notes": "sample string 9",
  "Time": "2024-10-22T15:42:16.0929298+08:00"
}