POST Api/Service/Setting/UpdateReduceCabinsSetting

更新降舱舱位设置项

Request Information

URI Parameters

None.

Body Parameters

设置参数

SpeedPower.Utility.Models.Project.Orders.Service.Setting.UpdateReduceCabinsSettingModel
NameDescriptionTypeAdditional 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": "9afd2103-49b4-49d2-a5a4-2bd5febfdec8",
  "ReduceSettingId": "dd466f85-4e58-469e-8792-1c0745995166",
  "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
NameDescriptionTypeAdditional information
Succeed

操作是否成功

boolean

None.

Message

操作消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Succeed": true,
  "Message": "sample string 2"
}