POST Api/Service/Setting/AddQueryCarrierSetting
添加销售航司配置项
Request Information
URI Parameters
None.
Body Parameters
设置参数
SpeedPower.Utility.Models.Project.SQuery.Service.Setting.AddQueryCarrierSettingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| SiteSettingId |
站点ID |
string |
Required String length: inclusive between 0 and 128 |
| Carrier |
航空公司 |
string |
Required String length: inclusive between 0 and 2 |
| Shared |
是否支持主飞包共享 |
boolean |
None. |
| ShareToCarrierLimit |
主飞航司限制 |
string |
String length: inclusive between 0 and 200 |
| Status |
设置状态 |
boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"SiteSettingId": "sample string 1",
"Carrier": "sample string 2",
"Shared": true,
"ShareToCarrierLimit": "sample string 4",
"Status": 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"
}