GET Api/Service/Setting/GetQueryCarrierSettings/{SiteId}
基于站点ID获取航司配置项列表
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
SiteId |
站点ID |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
基于站点ID获取航司配置项列表
Collection of SpeedPower.Utility.Models.Project.SQuery.Service.Setting.ParentQueryCarrierSettingModelName | Description | Type | Additional 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": "c36431a1-8ac0-4edf-b466-18d8aed0ff0a", "QueryProviderConfigId": "9682e6e3-97bf-4d7e-817d-0b1bb3c5e5f5", "CabinCodeOrCabinName": "sample string 3" }, { "ID": "c36431a1-8ac0-4edf-b466-18d8aed0ff0a", "QueryProviderConfigId": "9682e6e3-97bf-4d7e-817d-0b1bb3c5e5f5", "CabinCodeOrCabinName": "sample string 3" } ], "QueryIncludeCabinConfigs": [ { "ID": "c828905f-e7a6-4163-b742-278d176a66de", "QueryProviderConfigId": "eb75359e-992e-4c86-a0c3-a4f0fb2dc842", "CabinCodeOrCabinName": "sample string 3" }, { "ID": "c828905f-e7a6-4163-b742-278d176a66de", "QueryProviderConfigId": "eb75359e-992e-4c86-a0c3-a4f0fb2dc842", "CabinCodeOrCabinName": "sample string 3" } ], "QueryFixedCabinConfigs": [ { "ID": "74dd0c9e-9bd0-4bd2-8da4-91fd615b34e6", "QueryProviderConfigId": "3aa496de-dfaa-4aea-b846-1eae2fbecb82", "Original": "sample string 3", "Changed": "sample string 4" }, { "ID": "74dd0c9e-9bd0-4bd2-8da4-91fd615b34e6", "QueryProviderConfigId": "3aa496de-dfaa-4aea-b846-1eae2fbecb82", "Original": "sample string 3", "Changed": "sample string 4" } ], "Time": "2024-12-24T02:24:04.1688591+08:00", "ID": "a4a095fb-5ec6-4e2f-8403-e0ce2def1dbf", "DefaultKeepMoney": 3.1, "SaleBeforeDays": 4, "SaleTotalDays": 5, "SaleTimeInterval": 6, "MinCabinLimit": 7, "DecrementLimit": 8, "MaxCabinLimit": 9 }, "Time": "2024-12-24T02:24:04.1688591+08:00", "ID": "2e1d1c91-537f-41f6-9844-cfb759fd1638", "QueryCarrierSettingId": "c5cd6875-30b4-4768-8c79-d6e35e9e6e39", "ProviderCode": "sample string 4", "MatchPolicy": true, "PriceChangeInterval": 6, "SupportCodeShare": true }, { "QueryProviderConfigs": { "QueryExcludeCabinConfigs": [ { "ID": "c36431a1-8ac0-4edf-b466-18d8aed0ff0a", "QueryProviderConfigId": "9682e6e3-97bf-4d7e-817d-0b1bb3c5e5f5", "CabinCodeOrCabinName": "sample string 3" }, { "ID": "c36431a1-8ac0-4edf-b466-18d8aed0ff0a", "QueryProviderConfigId": "9682e6e3-97bf-4d7e-817d-0b1bb3c5e5f5", "CabinCodeOrCabinName": "sample string 3" } ], "QueryIncludeCabinConfigs": [ { "ID": "c828905f-e7a6-4163-b742-278d176a66de", "QueryProviderConfigId": "eb75359e-992e-4c86-a0c3-a4f0fb2dc842", "CabinCodeOrCabinName": "sample string 3" }, { "ID": "c828905f-e7a6-4163-b742-278d176a66de", "QueryProviderConfigId": "eb75359e-992e-4c86-a0c3-a4f0fb2dc842", "CabinCodeOrCabinName": "sample string 3" } ], "QueryFixedCabinConfigs": [ { "ID": "74dd0c9e-9bd0-4bd2-8da4-91fd615b34e6", "QueryProviderConfigId": "3aa496de-dfaa-4aea-b846-1eae2fbecb82", "Original": "sample string 3", "Changed": "sample string 4" }, { "ID": "74dd0c9e-9bd0-4bd2-8da4-91fd615b34e6", "QueryProviderConfigId": "3aa496de-dfaa-4aea-b846-1eae2fbecb82", "Original": "sample string 3", "Changed": "sample string 4" } ], "Time": "2024-12-24T02:24:04.1688591+08:00", "ID": "a4a095fb-5ec6-4e2f-8403-e0ce2def1dbf", "DefaultKeepMoney": 3.1, "SaleBeforeDays": 4, "SaleTotalDays": 5, "SaleTimeInterval": 6, "MinCabinLimit": 7, "DecrementLimit": 8, "MaxCabinLimit": 9 }, "Time": "2024-12-24T02:24:04.1688591+08:00", "ID": "2e1d1c91-537f-41f6-9844-cfb759fd1638", "QueryCarrierSettingId": "c5cd6875-30b4-4768-8c79-d6e35e9e6e39", "ProviderCode": "sample string 4", "MatchPolicy": true, "PriceChangeInterval": 6, "SupportCodeShare": true } ], "Time": "2024-12-24T02:24:04.1688591+08:00", "ID": "bd0ab7c7-0eac-43a2-a0b0-3b1ddf6811f0", "SiteSettingId": "sample string 3", "Carrier": "sample string 4", "Shared": true, "ShareToCarrierLimit": "sample string 6", "Status": true }, { "QueryProviderSettings": [ { "QueryProviderConfigs": { "QueryExcludeCabinConfigs": [ { "ID": "c36431a1-8ac0-4edf-b466-18d8aed0ff0a", "QueryProviderConfigId": "9682e6e3-97bf-4d7e-817d-0b1bb3c5e5f5", "CabinCodeOrCabinName": "sample string 3" }, { "ID": "c36431a1-8ac0-4edf-b466-18d8aed0ff0a", "QueryProviderConfigId": "9682e6e3-97bf-4d7e-817d-0b1bb3c5e5f5", "CabinCodeOrCabinName": "sample string 3" } ], "QueryIncludeCabinConfigs": [ { "ID": "c828905f-e7a6-4163-b742-278d176a66de", "QueryProviderConfigId": "eb75359e-992e-4c86-a0c3-a4f0fb2dc842", "CabinCodeOrCabinName": "sample string 3" }, { "ID": "c828905f-e7a6-4163-b742-278d176a66de", "QueryProviderConfigId": "eb75359e-992e-4c86-a0c3-a4f0fb2dc842", "CabinCodeOrCabinName": "sample string 3" } ], "QueryFixedCabinConfigs": [ { "ID": "74dd0c9e-9bd0-4bd2-8da4-91fd615b34e6", "QueryProviderConfigId": "3aa496de-dfaa-4aea-b846-1eae2fbecb82", "Original": "sample string 3", "Changed": "sample string 4" }, { "ID": "74dd0c9e-9bd0-4bd2-8da4-91fd615b34e6", "QueryProviderConfigId": "3aa496de-dfaa-4aea-b846-1eae2fbecb82", "Original": "sample string 3", "Changed": "sample string 4" } ], "Time": "2024-12-24T02:24:04.1688591+08:00", "ID": "a4a095fb-5ec6-4e2f-8403-e0ce2def1dbf", "DefaultKeepMoney": 3.1, "SaleBeforeDays": 4, "SaleTotalDays": 5, "SaleTimeInterval": 6, "MinCabinLimit": 7, "DecrementLimit": 8, "MaxCabinLimit": 9 }, "Time": "2024-12-24T02:24:04.1688591+08:00", "ID": "2e1d1c91-537f-41f6-9844-cfb759fd1638", "QueryCarrierSettingId": "c5cd6875-30b4-4768-8c79-d6e35e9e6e39", "ProviderCode": "sample string 4", "MatchPolicy": true, "PriceChangeInterval": 6, "SupportCodeShare": true }, { "QueryProviderConfigs": { "QueryExcludeCabinConfigs": [ { "ID": "c36431a1-8ac0-4edf-b466-18d8aed0ff0a", "QueryProviderConfigId": "9682e6e3-97bf-4d7e-817d-0b1bb3c5e5f5", "CabinCodeOrCabinName": "sample string 3" }, { "ID": "c36431a1-8ac0-4edf-b466-18d8aed0ff0a", "QueryProviderConfigId": "9682e6e3-97bf-4d7e-817d-0b1bb3c5e5f5", "CabinCodeOrCabinName": "sample string 3" } ], "QueryIncludeCabinConfigs": [ { "ID": "c828905f-e7a6-4163-b742-278d176a66de", "QueryProviderConfigId": "eb75359e-992e-4c86-a0c3-a4f0fb2dc842", "CabinCodeOrCabinName": "sample string 3" }, { "ID": "c828905f-e7a6-4163-b742-278d176a66de", "QueryProviderConfigId": "eb75359e-992e-4c86-a0c3-a4f0fb2dc842", "CabinCodeOrCabinName": "sample string 3" } ], "QueryFixedCabinConfigs": [ { "ID": "74dd0c9e-9bd0-4bd2-8da4-91fd615b34e6", "QueryProviderConfigId": "3aa496de-dfaa-4aea-b846-1eae2fbecb82", "Original": "sample string 3", "Changed": "sample string 4" }, { "ID": "74dd0c9e-9bd0-4bd2-8da4-91fd615b34e6", "QueryProviderConfigId": "3aa496de-dfaa-4aea-b846-1eae2fbecb82", "Original": "sample string 3", "Changed": "sample string 4" } ], "Time": "2024-12-24T02:24:04.1688591+08:00", "ID": "a4a095fb-5ec6-4e2f-8403-e0ce2def1dbf", "DefaultKeepMoney": 3.1, "SaleBeforeDays": 4, "SaleTotalDays": 5, "SaleTimeInterval": 6, "MinCabinLimit": 7, "DecrementLimit": 8, "MaxCabinLimit": 9 }, "Time": "2024-12-24T02:24:04.1688591+08:00", "ID": "2e1d1c91-537f-41f6-9844-cfb759fd1638", "QueryCarrierSettingId": "c5cd6875-30b4-4768-8c79-d6e35e9e6e39", "ProviderCode": "sample string 4", "MatchPolicy": true, "PriceChangeInterval": 6, "SupportCodeShare": true } ], "Time": "2024-12-24T02:24:04.1688591+08:00", "ID": "bd0ab7c7-0eac-43a2-a0b0-3b1ddf6811f0", "SiteSettingId": "sample string 3", "Carrier": "sample string 4", "Shared": true, "ShareToCarrierLimit": "sample string 6", "Status": true } ]