POST Api/Service/Setting/AddIntactReduceSetting
添加降舱完整设置项
Request Information
URI Parameters
None.
Body Parameters
设置参数
SpeedPower.Utility.Models.Project.Orders.Service.Setting.IntactReduceSettingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ReduceCabinsSettings |
舱位设置列表 |
Collection of SpeedPower.Utility.Models.Project.Orders.Service.Setting.AddReduceCabinsSettingModel |
None. |
| ReduceIntervalSettings |
执行间隔按小时设置列表 |
Collection of SpeedPower.Utility.Models.Project.Orders.Service.Setting.AddReduceIntervalSettingModel |
None. |
| ReduRestrictSettings |
行程白/黑名单列表 |
Collection of SpeedPower.Utility.Models.Project.Orders.Service.Setting.AddReduRestrictSettingModel |
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 |
Request Formats
application/json, text/json
Sample:
{
"ReduceCabinsSettings": [
{
"ReduceSettingId": "2b9e2fda-cc89-4854-bcca-137854614e03",
"CurrentCabin": "sample string 2",
"CurrentCabinStatus": "sample string 3",
"TargetCabins": "sample string 4",
"TargetCabinStatus": "sample string 5"
},
{
"ReduceSettingId": "2b9e2fda-cc89-4854-bcca-137854614e03",
"CurrentCabin": "sample string 2",
"CurrentCabinStatus": "sample string 3",
"TargetCabins": "sample string 4",
"TargetCabinStatus": "sample string 5"
}
],
"ReduceIntervalSettings": [
{
"ReduceSettingId": "4dc15961-f5c1-47f4-befa-51f6306fdec8",
"HourTag": "sample string 2",
"IntervalTime": 3
},
{
"ReduceSettingId": "4dc15961-f5c1-47f4-befa-51f6306fdec8",
"HourTag": "sample string 2",
"IntervalTime": 3
}
],
"ReduRestrictSettings": [
{
"ReduceSettingId": "16e531b9-ea3f-41f3-a7da-b8ac3988784d",
"RestrictType": 0,
"RouteTags": "sample string 2"
},
{
"ReduceSettingId": "16e531b9-ea3f-41f3-a7da-b8ac3988784d",
"RestrictType": 0,
"RouteTags": "sample string 2"
}
],
"SiteSettingId": "sample string 1",
"Carrier": "sample string 2",
"StartTime": "00:00:00.1234567",
"StopTime": "00:00:00.1234567",
"DurationTime": 5,
"IntervalTime": 6,
"TimeToTakeOff": 7,
"PassengerLimit": 8,
"EtermGroupId": "sample string 9",
"BookingEtermGroupId": "sample string 10",
"AutoBooking": true,
"PhoneNumber": "sample string 12"
}
Response Information
Resource Description
添加降舱完整设置项
SpeedPower.Utility.Models.Helper.ResultMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Succeed |
操作是否成功 |
boolean |
None. |
| Message |
操作消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Succeed": true,
"Message": "sample string 2"
}