POST Api/Service/Setting/UpdateQueryProviderConfig

更新报价默认设置项

Request Information

URI Parameters

None.

Body Parameters

设置参数

SpeedPower.Utility.Models.Project.SQuery.Service.Setting.UpdateQueryProviderConfigModel
NameDescriptionTypeAdditional information
ID

设置ID

globally unique identifier

None.

DefaultKeepMoney

默认留钱(10元)

decimal number

None.

SaleBeforeDays

默认销售提前天数

integer

None.

SaleTotalDays

默认销售总天数

integer

None.

SaleTimeInterval

默认数据时间有限效性(5分钟)

integer

None.

MinCabinLimit

默认最小舱位数量限制

integer

None.

DecrementLimit

默认可售舱位递减值(2个)

integer

None.

MaxCabinLimit

默认最大可售舱位数量值(3个)

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": "07884a7a-6a5f-47e3-8a59-7e5d5ba1fb88",
  "DefaultKeepMoney": 2.1,
  "SaleBeforeDays": 3,
  "SaleTotalDays": 4,
  "SaleTimeInterval": 5,
  "MinCabinLimit": 6,
  "DecrementLimit": 7,
  "MaxCabinLimit": 8
}

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"
}