POST Api/Service/Order/UpdateOTotalPrice
更新订单销售价格
Request Information
URI Parameters
None.
Body Parameters
设置参数
SpeedPower.Utility.Models.Project.Orders.Service.UpdateOTotalPriceModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ID |
设置ID |
globally unique identifier |
None. |
| 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:
{
"ID": "7215b229-d912-4bba-beb8-a2061b3abfd5",
"PassengerId": "7900841f-90d4-42ea-9669-1c0f3f8d62ce",
"Sequence": 1,
"SalePrice": 3.1,
"PrintPrice": 4,
"FareTax": 5,
"FuelTax": 6,
"CabinLevel": 0,
"CabinCode": "sample string 7",
"ChannelCabinCode": "sample string 8",
"FixedCabinCode": "sample string 9"
}
Response Information
Resource Description
更新订单销售价格
SpeedPower.Utility.Models.Helper.ResultMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Succeed |
操作是否成功 |
boolean |
None. |
| Message |
操作消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Succeed": true,
"Message": "sample string 2"
}