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": "6ab65795-bc18-48b2-9411-637f2348ee6f",
"CabinCodeOrCabinName": "sample string 2"
},
{
"QueryProviderConfigId": "6ab65795-bc18-48b2-9411-637f2348ee6f",
"CabinCodeOrCabinName": "sample string 2"
}
],
"QueryIncludeCabinConfigs": [
{
"QueryProviderConfigId": "34249283-926a-4c39-bc4b-25463feada72",
"CabinCodeOrCabinName": "sample string 2"
},
{
"QueryProviderConfigId": "34249283-926a-4c39-bc4b-25463feada72",
"CabinCodeOrCabinName": "sample string 2"
}
],
"QueryFixedCabinConfigs": [
{
"QueryProviderConfigId": "683189e2-d3aa-45a6-80cc-25e69487ed49",
"Original": "sample string 2",
"Changed": "sample string 3"
},
{
"QueryProviderConfigId": "683189e2-d3aa-45a6-80cc-25e69487ed49",
"Original": "sample string 2",
"Changed": "sample string 3"
}
],
"ID": "ae8d812d-f342-4b81-acdd-3d2d83be2285",
"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"
}