POST Api/Service/Setting/UpdateQueryProviderSetting
更新航司设置配置项
Request Information
URI Parameters
None.
Body Parameters
设置参数
SpeedPower.Utility.Models.Project.SQuery.Service.Setting.UpdateQueryProviderSettingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ID |
设置ID |
globally unique identifier |
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:
{
"ID": "777192e9-6dc1-40e1-8b5b-0a2874bb9f6d",
"QueryCarrierSettingId": "5991f9ff-c5c9-44e9-bd77-dfb1006a7db8",
"ProviderCode": "sample string 3",
"MatchPolicy": true,
"PriceChangeInterval": 5,
"SupportCodeShare": true
}
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"
}