GET Api/Service/Setting/GetReduceSettings/{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.Orders.Service.Setting.ParentReduceSettingModelName | Description | Type | Additional information |
---|---|---|---|
ReduceCabinsSettings |
舱位设置列表 |
Collection of SpeedPower.Utility.Models.Project.Orders.Service.Setting.GetReduceCabinsSettingModel |
None. |
ReduceIntervalSettings |
执行间隔按小时设置列表 |
Collection of SpeedPower.Utility.Models.Project.Orders.Service.Setting.GetReduceIntervalSettingModel |
None. |
ReduRestrictSettings |
行程白/黑名单列表 |
Collection of SpeedPower.Utility.Models.Project.Orders.Service.Setting.GetReduRestrictSettingModel |
None. |
Time |
添加时间 |
date |
None. |
ID |
设置ID |
globally unique identifier |
None. |
Status |
开启/关闭状态 |
boolean |
None. |
SiteSettingId |
父级ID |
string |
Required String length: inclusive between 0 and 128 |
Carrier |
航空公司 |
string |
Required String length: inclusive between 0 and 2 |
StartTime |
每天几点开始运行 |
time interval |
None. |
StopTime |
每天几点停止运行 |
time interval |
None. |
DurationTime |
总持续执行时间(分钟) |
integer |
None. |
IntervalTime |
执行间隔时间(秒) |
integer |
None. |
TimeToTakeOff |
距离起飞时间限制(小时) |
integer |
None. |
PassengerLimit |
乘机人数量限制 |
integer |
None. |
EtermGroupId |
查询黑屏组ID |
string |
Required String length: inclusive between 0 and 128 |
BookingEtermGroupId |
预订黑屏组ID(为空则默认使用查询组ID预订) |
string |
String length: inclusive between 0 and 128 |
AutoBooking |
是否自动创建PNR |
boolean |
None. |
PhoneNumber |
电话号码 |
string |
Required String length: inclusive between 0 and 16 |
Response Formats
application/json, text/json
Sample:
[ { "ReduceCabinsSettings": [ { "ID": "b8ad38ff-d74f-4fd6-a0f4-d6ebc19de72d", "ReduceSettingId": "fef5b121-5166-48f6-af02-3cbb492ec23b", "CurrentCabin": "sample string 3", "CurrentCabinStatus": "sample string 4", "TargetCabins": "sample string 5", "TargetCabinStatus": "sample string 6" }, { "ID": "b8ad38ff-d74f-4fd6-a0f4-d6ebc19de72d", "ReduceSettingId": "fef5b121-5166-48f6-af02-3cbb492ec23b", "CurrentCabin": "sample string 3", "CurrentCabinStatus": "sample string 4", "TargetCabins": "sample string 5", "TargetCabinStatus": "sample string 6" } ], "ReduceIntervalSettings": [ { "ID": "8204999e-743b-4e3a-852b-010b80b4409a", "ReduceSettingId": "e2e63a74-87d0-4973-8ed9-f27b019d3568", "HourTag": "sample string 3", "IntervalTime": 4 }, { "ID": "8204999e-743b-4e3a-852b-010b80b4409a", "ReduceSettingId": "e2e63a74-87d0-4973-8ed9-f27b019d3568", "HourTag": "sample string 3", "IntervalTime": 4 } ], "ReduRestrictSettings": [ { "ID": "28cacfbd-f574-4bf4-ac5f-b6123f007b05", "ReduceSettingId": "30be26c3-64e8-42c4-91d0-d4d44d9adb84", "RestrictType": 0, "RouteTags": "sample string 3" }, { "ID": "28cacfbd-f574-4bf4-ac5f-b6123f007b05", "ReduceSettingId": "30be26c3-64e8-42c4-91d0-d4d44d9adb84", "RestrictType": 0, "RouteTags": "sample string 3" } ], "Time": "2024-12-24T03:28:30.6502778+08:00", "ID": "ec2ed4f4-a1de-4e0b-a04d-2a5b404354fa", "Status": true, "SiteSettingId": "sample string 4", "Carrier": "sample string 5", "StartTime": "00:00:00.1234567", "StopTime": "00:00:00.1234567", "DurationTime": 8, "IntervalTime": 9, "TimeToTakeOff": 10, "PassengerLimit": 11, "EtermGroupId": "sample string 12", "BookingEtermGroupId": "sample string 13", "AutoBooking": true, "PhoneNumber": "sample string 15" }, { "ReduceCabinsSettings": [ { "ID": "b8ad38ff-d74f-4fd6-a0f4-d6ebc19de72d", "ReduceSettingId": "fef5b121-5166-48f6-af02-3cbb492ec23b", "CurrentCabin": "sample string 3", "CurrentCabinStatus": "sample string 4", "TargetCabins": "sample string 5", "TargetCabinStatus": "sample string 6" }, { "ID": "b8ad38ff-d74f-4fd6-a0f4-d6ebc19de72d", "ReduceSettingId": "fef5b121-5166-48f6-af02-3cbb492ec23b", "CurrentCabin": "sample string 3", "CurrentCabinStatus": "sample string 4", "TargetCabins": "sample string 5", "TargetCabinStatus": "sample string 6" } ], "ReduceIntervalSettings": [ { "ID": "8204999e-743b-4e3a-852b-010b80b4409a", "ReduceSettingId": "e2e63a74-87d0-4973-8ed9-f27b019d3568", "HourTag": "sample string 3", "IntervalTime": 4 }, { "ID": "8204999e-743b-4e3a-852b-010b80b4409a", "ReduceSettingId": "e2e63a74-87d0-4973-8ed9-f27b019d3568", "HourTag": "sample string 3", "IntervalTime": 4 } ], "ReduRestrictSettings": [ { "ID": "28cacfbd-f574-4bf4-ac5f-b6123f007b05", "ReduceSettingId": "30be26c3-64e8-42c4-91d0-d4d44d9adb84", "RestrictType": 0, "RouteTags": "sample string 3" }, { "ID": "28cacfbd-f574-4bf4-ac5f-b6123f007b05", "ReduceSettingId": "30be26c3-64e8-42c4-91d0-d4d44d9adb84", "RestrictType": 0, "RouteTags": "sample string 3" } ], "Time": "2024-12-24T03:28:30.6502778+08:00", "ID": "ec2ed4f4-a1de-4e0b-a04d-2a5b404354fa", "Status": true, "SiteSettingId": "sample string 4", "Carrier": "sample string 5", "StartTime": "00:00:00.1234567", "StopTime": "00:00:00.1234567", "DurationTime": 8, "IntervalTime": 9, "TimeToTakeOff": 10, "PassengerLimit": 11, "EtermGroupId": "sample string 12", "BookingEtermGroupId": "sample string 13", "AutoBooking": true, "PhoneNumber": "sample string 15" } ]