POST Api/Service/Setting/UpdateReduceSetting
更新降舱设置项
Request Information
URI Parameters
None.
Body Parameters
设置参数
SpeedPower.Utility.Models.Project.Orders.Service.Setting.UpdateReduceSettingModelName | Description | Type | Additional information |
---|---|---|---|
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 |
Request Formats
application/json, text/json
Sample:
{ "ID": "4399f003-f03f-4ede-aae3-257f69f589a4", "Status": true, "SiteSettingId": "sample string 3", "Carrier": "sample string 4", "StartTime": "00:00:00.1234567", "StopTime": "00:00:00.1234567", "DurationTime": 7, "IntervalTime": 8, "TimeToTakeOff": 9, "PassengerLimit": 10, "EtermGroupId": "sample string 11", "BookingEtermGroupId": "sample string 12", "AutoBooking": true, "PhoneNumber": "sample string 14" }
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" }