POST Api/Service/Order/AddOTotalPrice
添加订单销售价格
Request Information
URI Parameters
None.
Body Parameters
设置参数
SpeedPower.Utility.Models.Project.Orders.Service.AddOTotalPriceModelName | Description | Type | Additional information |
---|---|---|---|
PassengerId |
父级ID |
globally unique identifier |
None. |
Sequence |
对应航段序号(可为空) |
integer |
None. |
SalePrice |
销售价格 |
decimal number |
None. |
PrintPrice |
票面价格 |
integer |
None. |
FareTax |
民航发展基金 |
integer |
None. |
FuelTax |
燃油附加费用 |
integer |
None. |
CabinLevel |
舱位级别 |
SpeedPower.Utility.Models.Service.Eterms.Enums.CabinLevelType |
None. |
CabinCode |
舱位代码 |
string |
Required String length: inclusive between 0 and 3 |
ChannelCabinCode |
外部提交舱位代码 |
string |
String length: inclusive between 0 and 3 |
FixedCabinCode |
包装舱位代码 |
string |
String length: inclusive between 0 and 3 |
Request Formats
application/json, text/json
Sample:
{ "PassengerId": "08a2fa00-3acf-4156-a857-9dd150cbb4b5", "Sequence": 1, "SalePrice": 2.1, "PrintPrice": 3, "FareTax": 4, "FuelTax": 5, "CabinLevel": 0, "CabinCode": "sample string 6", "ChannelCabinCode": "sample string 7", "FixedCabinCode": "sample string 8" }
Response Information
Resource Description
添加订单销售价格
SpeedPower.Utility.Models.Helper.ResultMessageName | Description | Type | Additional information |
---|---|---|---|
Succeed |
操作是否成功 |
boolean |
None. |
Message |
操作消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Succeed": true, "Message": "sample string 2" }