POST Api/Service/Setting/AddReduceSetting
添加降舱设置项
Request Information
URI Parameters
None.
Body Parameters
设置参数
SpeedPower.Utility.Models.Project.Orders.Service.Setting.AddReduceSettingModelName | Description | Type | Additional information |
---|---|---|---|
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:
{ "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.ResultMessageName | Description | Type | Additional information |
---|---|---|---|
Succeed |
操作是否成功 |
boolean |
None. |
Message |
操作消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Succeed": true, "Message": "sample string 2" }