GET Api/FareDatas/GetFareCabinCodes/{Carrier}

基于航空公司获取舱位代码列表

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Carrier

string

Required

Body Parameters

None.

Response Information

Resource Description

基于航空公司获取舱位代码列表

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

Discount

舱位折扣

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Carrier": "sample string 1",
    "CabinLevel": 0,
    "ParentCode": "sample string 2",
    "CabinCode": "sample string 3",
    "AdultPrice": 4,
    "Discount": 5.1
  },
  {
    "Carrier": "sample string 1",
    "CabinLevel": 0,
    "ParentCode": "sample string 2",
    "CabinCode": "sample string 3",
    "AdultPrice": 4,
    "Discount": 5.1
  }
]