POST Api/Service/Setting/AddQueryProviderIntactConfig
添加完整默认设置项
Request Information
URI Parameters
None.
Body Parameters
设置参数
SpeedPower.Utility.Models.Project.SQuery.Service.Setting.IntactQueryProviderConfigModel| Name | 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": "0c772c91-949a-458c-8ca0-7ea3db8ccdef",
"CabinCodeOrCabinName": "sample string 2"
},
{
"QueryProviderConfigId": "0c772c91-949a-458c-8ca0-7ea3db8ccdef",
"CabinCodeOrCabinName": "sample string 2"
}
],
"QueryIncludeCabinConfigs": [
{
"QueryProviderConfigId": "c0eedbfd-0d38-4a45-bb31-d6ddd61be67c",
"CabinCodeOrCabinName": "sample string 2"
},
{
"QueryProviderConfigId": "c0eedbfd-0d38-4a45-bb31-d6ddd61be67c",
"CabinCodeOrCabinName": "sample string 2"
}
],
"QueryFixedCabinConfigs": [
{
"QueryProviderConfigId": "ce1d4682-d9b1-462d-8cff-94d1e2fb351f",
"Original": "sample string 2",
"Changed": "sample string 3"
},
{
"QueryProviderConfigId": "ce1d4682-d9b1-462d-8cff-94d1e2fb351f",
"Original": "sample string 2",
"Changed": "sample string 3"
}
],
"ID": "885ef919-430d-4606-a51a-6ab3777f3152",
"DefaultKeepMoney": 2.1,
"SaleBeforeDays": 3,
"SaleTotalDays": 4,
"SaleTimeInterval": 5,
"MinCabinLimit": 6,
"DecrementLimit": 7,
"MaxCabinLimit": 8
}
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"
}