POST Api/Service/Setting/AddQueryProviderIntactSetting

添加航司设置完整配置项

Request Information

URI Parameters

None.

Body Parameters

设置参数

SpeedPower.Utility.Models.Project.SQuery.Service.Setting.IntactQueryProviderSettingModel
NameDescriptionTypeAdditional 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": "8efa4fd3-5307-42a3-96f2-bb43e9b05e9a",
        "CabinCodeOrCabinName": "sample string 2"
      },
      {
        "QueryProviderConfigId": "8efa4fd3-5307-42a3-96f2-bb43e9b05e9a",
        "CabinCodeOrCabinName": "sample string 2"
      }
    ],
    "QueryIncludeCabinConfigs": [
      {
        "QueryProviderConfigId": "36390baa-e5ba-4556-b447-abb7fcf93c1f",
        "CabinCodeOrCabinName": "sample string 2"
      },
      {
        "QueryProviderConfigId": "36390baa-e5ba-4556-b447-abb7fcf93c1f",
        "CabinCodeOrCabinName": "sample string 2"
      }
    ],
    "QueryFixedCabinConfigs": [
      {
        "QueryProviderConfigId": "8b3d74aa-3173-46b8-bcfd-3ccebeeb4504",
        "Original": "sample string 2",
        "Changed": "sample string 3"
      },
      {
        "QueryProviderConfigId": "8b3d74aa-3173-46b8-bcfd-3ccebeeb4504",
        "Original": "sample string 2",
        "Changed": "sample string 3"
      }
    ],
    "ID": "48e2b15e-9452-49c3-959c-a3d302b2bca0",
    "DefaultKeepMoney": 2.1,
    "SaleBeforeDays": 3,
    "SaleTotalDays": 4,
    "SaleTimeInterval": 5,
    "MinCabinLimit": 6,
    "DecrementLimit": 7,
    "MaxCabinLimit": 8
  },
  "QueryCarrierSettingId": "3fe336cd-a1c6-47b7-9390-bb23a3537a6d",
  "ProviderCode": "sample string 2",
  "MatchPolicy": true,
  "PriceChangeInterval": 4,
  "SupportCodeShare": true
}

Response Information

Resource Description

添加航司设置完整配置项

SpeedPower.Utility.Models.Helper.ResultMessage
NameDescriptionTypeAdditional information
Succeed

操作是否成功

boolean

None.

Message

操作消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Succeed": true,
  "Message": "sample string 2"
}