POST Api/Service/Setting/AddQueryCarrierIntactSetting

添加销售航司完整配置项

Request Information

URI Parameters

None.

Body Parameters

设置参数

SpeedPower.Utility.Models.Project.SQuery.Service.Setting.IntactQueryCarrierSettingModel
NameDescriptionTypeAdditional information
QueryProviderSettings

报价设置列表

Collection of SpeedPower.Utility.Models.Project.SQuery.Service.Setting.IntactQueryProviderSettingModel

None.

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:
{
  "QueryProviderSettings": [
    {
      "QueryProviderConfigs": {
        "QueryExcludeCabinConfigs": [
          {
            "QueryProviderConfigId": "a4a7fc9b-dbb5-48c8-a76b-04cdd612847c",
            "CabinCodeOrCabinName": "sample string 2"
          },
          {
            "QueryProviderConfigId": "a4a7fc9b-dbb5-48c8-a76b-04cdd612847c",
            "CabinCodeOrCabinName": "sample string 2"
          }
        ],
        "QueryIncludeCabinConfigs": [
          {
            "QueryProviderConfigId": "f8bbddf3-8da3-44f3-8f00-439003914d6c",
            "CabinCodeOrCabinName": "sample string 2"
          },
          {
            "QueryProviderConfigId": "f8bbddf3-8da3-44f3-8f00-439003914d6c",
            "CabinCodeOrCabinName": "sample string 2"
          }
        ],
        "QueryFixedCabinConfigs": [
          {
            "QueryProviderConfigId": "0be7ee72-604d-4322-941d-2b9d33a8fe0c",
            "Original": "sample string 2",
            "Changed": "sample string 3"
          },
          {
            "QueryProviderConfigId": "0be7ee72-604d-4322-941d-2b9d33a8fe0c",
            "Original": "sample string 2",
            "Changed": "sample string 3"
          }
        ],
        "ID": "551366e3-db5d-438c-803d-b6c6c4e2dfc5",
        "DefaultKeepMoney": 2.1,
        "SaleBeforeDays": 3,
        "SaleTotalDays": 4,
        "SaleTimeInterval": 5,
        "MinCabinLimit": 6,
        "DecrementLimit": 7,
        "MaxCabinLimit": 8
      },
      "QueryCarrierSettingId": "88e0af3d-de53-4335-a03b-d598905752a8",
      "ProviderCode": "sample string 2",
      "MatchPolicy": true,
      "PriceChangeInterval": 4,
      "SupportCodeShare": true
    },
    {
      "QueryProviderConfigs": {
        "QueryExcludeCabinConfigs": [
          {
            "QueryProviderConfigId": "a4a7fc9b-dbb5-48c8-a76b-04cdd612847c",
            "CabinCodeOrCabinName": "sample string 2"
          },
          {
            "QueryProviderConfigId": "a4a7fc9b-dbb5-48c8-a76b-04cdd612847c",
            "CabinCodeOrCabinName": "sample string 2"
          }
        ],
        "QueryIncludeCabinConfigs": [
          {
            "QueryProviderConfigId": "f8bbddf3-8da3-44f3-8f00-439003914d6c",
            "CabinCodeOrCabinName": "sample string 2"
          },
          {
            "QueryProviderConfigId": "f8bbddf3-8da3-44f3-8f00-439003914d6c",
            "CabinCodeOrCabinName": "sample string 2"
          }
        ],
        "QueryFixedCabinConfigs": [
          {
            "QueryProviderConfigId": "0be7ee72-604d-4322-941d-2b9d33a8fe0c",
            "Original": "sample string 2",
            "Changed": "sample string 3"
          },
          {
            "QueryProviderConfigId": "0be7ee72-604d-4322-941d-2b9d33a8fe0c",
            "Original": "sample string 2",
            "Changed": "sample string 3"
          }
        ],
        "ID": "551366e3-db5d-438c-803d-b6c6c4e2dfc5",
        "DefaultKeepMoney": 2.1,
        "SaleBeforeDays": 3,
        "SaleTotalDays": 4,
        "SaleTimeInterval": 5,
        "MinCabinLimit": 6,
        "DecrementLimit": 7,
        "MaxCabinLimit": 8
      },
      "QueryCarrierSettingId": "88e0af3d-de53-4335-a03b-d598905752a8",
      "ProviderCode": "sample string 2",
      "MatchPolicy": true,
      "PriceChangeInterval": 4,
      "SupportCodeShare": true
    }
  ],
  "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
NameDescriptionTypeAdditional information
Succeed

操作是否成功

boolean

None.

Message

操作消息

string

None.

Response Formats

application/json, text/json

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