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": "afc6f66d-de3c-4c13-9461-026addd1b6bc",
"ReduceSettingId": "fdd9687b-ee02-4c28-ab5f-b50a0888ba4c",
"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"
}