POST Api/Service/Setting/AddQueryProviderIntactSetting
添加航司设置完整配置项
Request Information
URI Parameters
None.
Body Parameters
设置参数
SpeedPower.Utility.Models.Project.SQuery.Service.Setting.IntactQueryProviderSettingModelName | Description | Type | Additional information |
---|---|---|---|
QueryProviderConfigs |
设置项 |
SpeedPower.Utility.Models.Project.SQuery.Service.Setting.IntactQueryProviderConfigModel |
None. |
QueryCarrierSettingId |
父级ID |
globally unique identifier |
None. |
ProviderCode |
报价源代码 |
string |
Required String length: inclusive between 0 and 20 |
MatchPolicy |
是否强制匹配政策 |
boolean |
None. |
PriceChangeInterval |
默认变价区间 |
integer |
None. |
SupportCodeShare |
是否支持共享售卖 |
boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "QueryProviderConfigs": { "QueryExcludeCabinConfigs": [ { "QueryProviderConfigId": "23d737dd-4013-41e3-b11f-2c61bccda21a", "CabinCodeOrCabinName": "sample string 2" }, { "QueryProviderConfigId": "23d737dd-4013-41e3-b11f-2c61bccda21a", "CabinCodeOrCabinName": "sample string 2" } ], "QueryIncludeCabinConfigs": [ { "QueryProviderConfigId": "fd012b15-4c1a-4fb0-b083-1ff745c16e70", "CabinCodeOrCabinName": "sample string 2" }, { "QueryProviderConfigId": "fd012b15-4c1a-4fb0-b083-1ff745c16e70", "CabinCodeOrCabinName": "sample string 2" } ], "QueryFixedCabinConfigs": [ { "QueryProviderConfigId": "2b403fff-4648-42e1-ae70-bd8ffba379eb", "Original": "sample string 2", "Changed": "sample string 3" }, { "QueryProviderConfigId": "2b403fff-4648-42e1-ae70-bd8ffba379eb", "Original": "sample string 2", "Changed": "sample string 3" } ], "ID": "10dfa17e-b011-4f0e-b32f-3d68ffa2b43e", "DefaultKeepMoney": 2.1, "SaleBeforeDays": 3, "SaleTotalDays": 4, "SaleTimeInterval": 5, "MinCabinLimit": 6, "DecrementLimit": 7, "MaxCabinLimit": 8 }, "QueryCarrierSettingId": "cab0afbd-f496-4e4d-af32-2939cf8e2753", "ProviderCode": "sample string 2", "MatchPolicy": true, "PriceChangeInterval": 4, "SupportCodeShare": true }
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" }