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": "1532325d-46ae-40c6-aac5-f45922126ec5",
            "CabinCodeOrCabinName": "sample string 2"
          },
          {
            "QueryProviderConfigId": "1532325d-46ae-40c6-aac5-f45922126ec5",
            "CabinCodeOrCabinName": "sample string 2"
          }
        ],
        "QueryIncludeCabinConfigs": [
          {
            "QueryProviderConfigId": "702b80c1-1672-440d-bbba-cfb6005dcf20",
            "CabinCodeOrCabinName": "sample string 2"
          },
          {
            "QueryProviderConfigId": "702b80c1-1672-440d-bbba-cfb6005dcf20",
            "CabinCodeOrCabinName": "sample string 2"
          }
        ],
        "QueryFixedCabinConfigs": [
          {
            "QueryProviderConfigId": "2b9e3c42-244b-44e8-bde1-51f9276747c4",
            "Original": "sample string 2",
            "Changed": "sample string 3"
          },
          {
            "QueryProviderConfigId": "2b9e3c42-244b-44e8-bde1-51f9276747c4",
            "Original": "sample string 2",
            "Changed": "sample string 3"
          }
        ],
        "ID": "4337dfb7-1685-4ef9-83a6-da4c039ca13c",
        "DefaultKeepMoney": 2.1,
        "SaleBeforeDays": 3,
        "SaleTotalDays": 4,
        "SaleTimeInterval": 5,
        "MinCabinLimit": 6,
        "DecrementLimit": 7,
        "MaxCabinLimit": 8
      },
      "QueryCarrierSettingId": "278e8b84-d0c5-4e5d-bde4-0f088810561f",
      "ProviderCode": "sample string 2",
      "MatchPolicy": true,
      "PriceChangeInterval": 4,
      "SupportCodeShare": true
    },
    {
      "QueryProviderConfigs": {
        "QueryExcludeCabinConfigs": [
          {
            "QueryProviderConfigId": "1532325d-46ae-40c6-aac5-f45922126ec5",
            "CabinCodeOrCabinName": "sample string 2"
          },
          {
            "QueryProviderConfigId": "1532325d-46ae-40c6-aac5-f45922126ec5",
            "CabinCodeOrCabinName": "sample string 2"
          }
        ],
        "QueryIncludeCabinConfigs": [
          {
            "QueryProviderConfigId": "702b80c1-1672-440d-bbba-cfb6005dcf20",
            "CabinCodeOrCabinName": "sample string 2"
          },
          {
            "QueryProviderConfigId": "702b80c1-1672-440d-bbba-cfb6005dcf20",
            "CabinCodeOrCabinName": "sample string 2"
          }
        ],
        "QueryFixedCabinConfigs": [
          {
            "QueryProviderConfigId": "2b9e3c42-244b-44e8-bde1-51f9276747c4",
            "Original": "sample string 2",
            "Changed": "sample string 3"
          },
          {
            "QueryProviderConfigId": "2b9e3c42-244b-44e8-bde1-51f9276747c4",
            "Original": "sample string 2",
            "Changed": "sample string 3"
          }
        ],
        "ID": "4337dfb7-1685-4ef9-83a6-da4c039ca13c",
        "DefaultKeepMoney": 2.1,
        "SaleBeforeDays": 3,
        "SaleTotalDays": 4,
        "SaleTimeInterval": 5,
        "MinCabinLimit": 6,
        "DecrementLimit": 7,
        "MaxCabinLimit": 8
      },
      "QueryCarrierSettingId": "278e8b84-d0c5-4e5d-bde4-0f088810561f",
      "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"
}