POST Api/Service/Order/UpdateOTotalPrice

更新订单销售价格

Request Information

URI Parameters

None.

Body Parameters

设置参数

SpeedPower.Utility.Models.Project.Orders.Service.UpdateOTotalPriceModel
NameDescriptionTypeAdditional 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": "af3025cd-5838-4f07-9443-49f06a949a0c",
  "PassengerId": "682f981c-1b15-4184-8b67-8a8da4d638d2",
  "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
NameDescriptionTypeAdditional information
Succeed

操作是否成功

boolean

None.

Message

操作消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Succeed": true,
  "Message": "sample string 2"
}