POST Api/Service/Setting/UpdateReduceCabinsSetting
更新降舱舱位设置项
Request Information
URI Parameters
None.
Body Parameters
设置参数
SpeedPower.Utility.Models.Project.Orders.Service.Setting.UpdateReduceCabinsSettingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ID |
设置ID |
globally unique identifier |
None. |
| ReduceSettingId |
父级ID |
globally unique identifier |
None. |
| CurrentCabin |
当前舱位(Y) |
string |
Required String length: inclusive between 0 and 3 |
| CurrentCabinStatus |
当前舱位状态(Q,L,S) |
string |
Required String length: inclusive between 0 and 50 |
| TargetCabins |
目标舱位(B,D,N,H1,W2) |
string |
Required String length: inclusive between 0 and 50 |
| TargetCabinStatus |
目标舱位状态(L,Q,S) |
string |
Required String length: inclusive between 0 and 50 |
Request Formats
application/json, text/json
Sample:
{
"ID": "337420b2-c767-4d9c-83c1-bcaba9c530d4",
"ReduceSettingId": "11dbc5d7-1882-4d75-9d46-a204cb887adf",
"CurrentCabin": "sample string 3",
"CurrentCabinStatus": "sample string 4",
"TargetCabins": "sample string 5",
"TargetCabinStatus": "sample string 6"
}
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"
}