POST Api/Service/Setting/AddQueryProviderConfig

添加报价默认设置项

Request Information

URI Parameters

None.

Body Parameters

设置参数

SpeedPower.Utility.Models.Project.SQuery.Service.Setting.AddQueryProviderConfigModel
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": "4bcd5a48-87f7-4aa5-8dc5-0e8ced71744d",
  "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"
}