POST Api/Service/Setting/AddQueryProviderIntactConfig
添加完整默认设置项
Request Information
URI Parameters
None.
Body Parameters
设置参数
SpeedPower.Utility.Models.Project.SQuery.Service.Setting.IntactQueryProviderConfigModelName | Description | Type | Additional information |
---|---|---|---|
QueryExcludeCabinConfigs |
销售排除项列表 |
Collection of SpeedPower.Utility.Models.Project.SQuery.Service.Setting.AddQueryExcludeCabinConfigModel |
None. |
QueryIncludeCabinConfigs |
销售包含项列表 |
Collection of SpeedPower.Utility.Models.Project.SQuery.Service.Setting.AddQueryIncludeCabinConfigModel |
None. |
QueryFixedCabinConfigs |
包装舱位列表 |
Collection of SpeedPower.Utility.Models.Project.SQuery.Service.Setting.AddQueryFixedCabinConfigModel |
None. |
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:
{ "QueryExcludeCabinConfigs": [ { "QueryProviderConfigId": "d0648eb0-4c5a-40ae-85d3-49a60aa957de", "CabinCodeOrCabinName": "sample string 2" }, { "QueryProviderConfigId": "d0648eb0-4c5a-40ae-85d3-49a60aa957de", "CabinCodeOrCabinName": "sample string 2" } ], "QueryIncludeCabinConfigs": [ { "QueryProviderConfigId": "8e1e41ea-d7b5-4825-8e0e-fce126dd7d33", "CabinCodeOrCabinName": "sample string 2" }, { "QueryProviderConfigId": "8e1e41ea-d7b5-4825-8e0e-fce126dd7d33", "CabinCodeOrCabinName": "sample string 2" } ], "QueryFixedCabinConfigs": [ { "QueryProviderConfigId": "20ccd21b-69f2-4b3a-bdf5-4abd81061db4", "Original": "sample string 2", "Changed": "sample string 3" }, { "QueryProviderConfigId": "20ccd21b-69f2-4b3a-bdf5-4abd81061db4", "Original": "sample string 2", "Changed": "sample string 3" } ], "ID": "8af61d98-b0a5-48f9-866f-d628be2bf410", "DefaultKeepMoney": 2.1, "SaleBeforeDays": 3, "SaleTotalDays": 4, "SaleTimeInterval": 5, "MinCabinLimit": 6, "DecrementLimit": 7, "MaxCabinLimit": 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" }