GET Api/Service/Setting/GetQueryCarrierSettings/{SiteId}

基于站点ID获取航司配置项列表

Request Information

URI Parameters

NameDescriptionTypeAdditional information
SiteId

站点ID

string

Required

Body Parameters

None.

Response Information

Resource Description

基于站点ID获取航司配置项列表

Collection of SpeedPower.Utility.Models.Project.SQuery.Service.Setting.ParentQueryCarrierSettingModel
NameDescriptionTypeAdditional information
QueryProviderSettings

报价设置列表

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

None.

Time

添加时间

date

None.

ID

设置ID

globally unique identifier

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.

Response Formats

application/json, text/json

Sample:
[
  {
    "QueryProviderSettings": [
      {
        "QueryProviderConfigs": {
          "QueryExcludeCabinConfigs": [
            {
              "ID": "39c9ccbc-1b43-4268-ab9d-765073b12c87",
              "QueryProviderConfigId": "73463482-15c7-4b89-a978-770375469b4a",
              "CabinCodeOrCabinName": "sample string 3"
            },
            {
              "ID": "39c9ccbc-1b43-4268-ab9d-765073b12c87",
              "QueryProviderConfigId": "73463482-15c7-4b89-a978-770375469b4a",
              "CabinCodeOrCabinName": "sample string 3"
            }
          ],
          "QueryIncludeCabinConfigs": [
            {
              "ID": "32f29be7-c6f4-4870-ac27-31d236b60f8a",
              "QueryProviderConfigId": "2fab28b9-8cda-4222-ae49-ac825173cff4",
              "CabinCodeOrCabinName": "sample string 3"
            },
            {
              "ID": "32f29be7-c6f4-4870-ac27-31d236b60f8a",
              "QueryProviderConfigId": "2fab28b9-8cda-4222-ae49-ac825173cff4",
              "CabinCodeOrCabinName": "sample string 3"
            }
          ],
          "QueryFixedCabinConfigs": [
            {
              "ID": "099edb9b-9bef-4438-8205-23032a08c9cb",
              "QueryProviderConfigId": "db17b5cd-242c-41bf-972a-358fa627576d",
              "Original": "sample string 3",
              "Changed": "sample string 4"
            },
            {
              "ID": "099edb9b-9bef-4438-8205-23032a08c9cb",
              "QueryProviderConfigId": "db17b5cd-242c-41bf-972a-358fa627576d",
              "Original": "sample string 3",
              "Changed": "sample string 4"
            }
          ],
          "Time": "2025-04-03T15:17:36.281732+08:00",
          "ID": "ce5d06ff-12a9-43b8-b43a-4a44f577e41a",
          "DefaultKeepMoney": 3.1,
          "SaleBeforeDays": 4,
          "SaleTotalDays": 5,
          "SaleTimeInterval": 6,
          "MinCabinLimit": 7,
          "DecrementLimit": 8,
          "MaxCabinLimit": 9
        },
        "Time": "2025-04-03T15:17:36.281732+08:00",
        "ID": "873b81fc-957d-4548-86b5-cfe1743f9c79",
        "QueryCarrierSettingId": "64fd12ad-9cbf-4679-8ffb-05a5ef92667d",
        "ProviderCode": "sample string 4",
        "MatchPolicy": true,
        "PriceChangeInterval": 6,
        "SupportCodeShare": true
      },
      {
        "QueryProviderConfigs": {
          "QueryExcludeCabinConfigs": [
            {
              "ID": "39c9ccbc-1b43-4268-ab9d-765073b12c87",
              "QueryProviderConfigId": "73463482-15c7-4b89-a978-770375469b4a",
              "CabinCodeOrCabinName": "sample string 3"
            },
            {
              "ID": "39c9ccbc-1b43-4268-ab9d-765073b12c87",
              "QueryProviderConfigId": "73463482-15c7-4b89-a978-770375469b4a",
              "CabinCodeOrCabinName": "sample string 3"
            }
          ],
          "QueryIncludeCabinConfigs": [
            {
              "ID": "32f29be7-c6f4-4870-ac27-31d236b60f8a",
              "QueryProviderConfigId": "2fab28b9-8cda-4222-ae49-ac825173cff4",
              "CabinCodeOrCabinName": "sample string 3"
            },
            {
              "ID": "32f29be7-c6f4-4870-ac27-31d236b60f8a",
              "QueryProviderConfigId": "2fab28b9-8cda-4222-ae49-ac825173cff4",
              "CabinCodeOrCabinName": "sample string 3"
            }
          ],
          "QueryFixedCabinConfigs": [
            {
              "ID": "099edb9b-9bef-4438-8205-23032a08c9cb",
              "QueryProviderConfigId": "db17b5cd-242c-41bf-972a-358fa627576d",
              "Original": "sample string 3",
              "Changed": "sample string 4"
            },
            {
              "ID": "099edb9b-9bef-4438-8205-23032a08c9cb",
              "QueryProviderConfigId": "db17b5cd-242c-41bf-972a-358fa627576d",
              "Original": "sample string 3",
              "Changed": "sample string 4"
            }
          ],
          "Time": "2025-04-03T15:17:36.281732+08:00",
          "ID": "ce5d06ff-12a9-43b8-b43a-4a44f577e41a",
          "DefaultKeepMoney": 3.1,
          "SaleBeforeDays": 4,
          "SaleTotalDays": 5,
          "SaleTimeInterval": 6,
          "MinCabinLimit": 7,
          "DecrementLimit": 8,
          "MaxCabinLimit": 9
        },
        "Time": "2025-04-03T15:17:36.281732+08:00",
        "ID": "873b81fc-957d-4548-86b5-cfe1743f9c79",
        "QueryCarrierSettingId": "64fd12ad-9cbf-4679-8ffb-05a5ef92667d",
        "ProviderCode": "sample string 4",
        "MatchPolicy": true,
        "PriceChangeInterval": 6,
        "SupportCodeShare": true
      }
    ],
    "Time": "2025-04-03T15:17:36.281732+08:00",
    "ID": "129e1e6c-7596-46d1-8764-7cd6e7448b88",
    "SiteSettingId": "sample string 3",
    "Carrier": "sample string 4",
    "Shared": true,
    "ShareToCarrierLimit": "sample string 6",
    "Status": true
  },
  {
    "QueryProviderSettings": [
      {
        "QueryProviderConfigs": {
          "QueryExcludeCabinConfigs": [
            {
              "ID": "39c9ccbc-1b43-4268-ab9d-765073b12c87",
              "QueryProviderConfigId": "73463482-15c7-4b89-a978-770375469b4a",
              "CabinCodeOrCabinName": "sample string 3"
            },
            {
              "ID": "39c9ccbc-1b43-4268-ab9d-765073b12c87",
              "QueryProviderConfigId": "73463482-15c7-4b89-a978-770375469b4a",
              "CabinCodeOrCabinName": "sample string 3"
            }
          ],
          "QueryIncludeCabinConfigs": [
            {
              "ID": "32f29be7-c6f4-4870-ac27-31d236b60f8a",
              "QueryProviderConfigId": "2fab28b9-8cda-4222-ae49-ac825173cff4",
              "CabinCodeOrCabinName": "sample string 3"
            },
            {
              "ID": "32f29be7-c6f4-4870-ac27-31d236b60f8a",
              "QueryProviderConfigId": "2fab28b9-8cda-4222-ae49-ac825173cff4",
              "CabinCodeOrCabinName": "sample string 3"
            }
          ],
          "QueryFixedCabinConfigs": [
            {
              "ID": "099edb9b-9bef-4438-8205-23032a08c9cb",
              "QueryProviderConfigId": "db17b5cd-242c-41bf-972a-358fa627576d",
              "Original": "sample string 3",
              "Changed": "sample string 4"
            },
            {
              "ID": "099edb9b-9bef-4438-8205-23032a08c9cb",
              "QueryProviderConfigId": "db17b5cd-242c-41bf-972a-358fa627576d",
              "Original": "sample string 3",
              "Changed": "sample string 4"
            }
          ],
          "Time": "2025-04-03T15:17:36.281732+08:00",
          "ID": "ce5d06ff-12a9-43b8-b43a-4a44f577e41a",
          "DefaultKeepMoney": 3.1,
          "SaleBeforeDays": 4,
          "SaleTotalDays": 5,
          "SaleTimeInterval": 6,
          "MinCabinLimit": 7,
          "DecrementLimit": 8,
          "MaxCabinLimit": 9
        },
        "Time": "2025-04-03T15:17:36.281732+08:00",
        "ID": "873b81fc-957d-4548-86b5-cfe1743f9c79",
        "QueryCarrierSettingId": "64fd12ad-9cbf-4679-8ffb-05a5ef92667d",
        "ProviderCode": "sample string 4",
        "MatchPolicy": true,
        "PriceChangeInterval": 6,
        "SupportCodeShare": true
      },
      {
        "QueryProviderConfigs": {
          "QueryExcludeCabinConfigs": [
            {
              "ID": "39c9ccbc-1b43-4268-ab9d-765073b12c87",
              "QueryProviderConfigId": "73463482-15c7-4b89-a978-770375469b4a",
              "CabinCodeOrCabinName": "sample string 3"
            },
            {
              "ID": "39c9ccbc-1b43-4268-ab9d-765073b12c87",
              "QueryProviderConfigId": "73463482-15c7-4b89-a978-770375469b4a",
              "CabinCodeOrCabinName": "sample string 3"
            }
          ],
          "QueryIncludeCabinConfigs": [
            {
              "ID": "32f29be7-c6f4-4870-ac27-31d236b60f8a",
              "QueryProviderConfigId": "2fab28b9-8cda-4222-ae49-ac825173cff4",
              "CabinCodeOrCabinName": "sample string 3"
            },
            {
              "ID": "32f29be7-c6f4-4870-ac27-31d236b60f8a",
              "QueryProviderConfigId": "2fab28b9-8cda-4222-ae49-ac825173cff4",
              "CabinCodeOrCabinName": "sample string 3"
            }
          ],
          "QueryFixedCabinConfigs": [
            {
              "ID": "099edb9b-9bef-4438-8205-23032a08c9cb",
              "QueryProviderConfigId": "db17b5cd-242c-41bf-972a-358fa627576d",
              "Original": "sample string 3",
              "Changed": "sample string 4"
            },
            {
              "ID": "099edb9b-9bef-4438-8205-23032a08c9cb",
              "QueryProviderConfigId": "db17b5cd-242c-41bf-972a-358fa627576d",
              "Original": "sample string 3",
              "Changed": "sample string 4"
            }
          ],
          "Time": "2025-04-03T15:17:36.281732+08:00",
          "ID": "ce5d06ff-12a9-43b8-b43a-4a44f577e41a",
          "DefaultKeepMoney": 3.1,
          "SaleBeforeDays": 4,
          "SaleTotalDays": 5,
          "SaleTimeInterval": 6,
          "MinCabinLimit": 7,
          "DecrementLimit": 8,
          "MaxCabinLimit": 9
        },
        "Time": "2025-04-03T15:17:36.281732+08:00",
        "ID": "873b81fc-957d-4548-86b5-cfe1743f9c79",
        "QueryCarrierSettingId": "64fd12ad-9cbf-4679-8ffb-05a5ef92667d",
        "ProviderCode": "sample string 4",
        "MatchPolicy": true,
        "PriceChangeInterval": 6,
        "SupportCodeShare": true
      }
    ],
    "Time": "2025-04-03T15:17:36.281732+08:00",
    "ID": "129e1e6c-7596-46d1-8764-7cd6e7448b88",
    "SiteSettingId": "sample string 3",
    "Carrier": "sample string 4",
    "Shared": true,
    "ShareToCarrierLimit": "sample string 6",
    "Status": true
  }
]