POST Api/Service/Setting/AddReduceCabinsSettings

添加降舱舱位设置项

Request Information

URI Parameters

None.

Body Parameters

设置参数

Collection of SpeedPower.Utility.Models.Project.Orders.Service.Setting.AddReduceCabinsSettingModel
NameDescriptionTypeAdditional information
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:
[
  {
    "ReduceSettingId": "d95b9a87-24ea-4699-8c8c-e02fcfa8cd46",
    "CurrentCabin": "sample string 2",
    "CurrentCabinStatus": "sample string 3",
    "TargetCabins": "sample string 4",
    "TargetCabinStatus": "sample string 5"
  },
  {
    "ReduceSettingId": "d95b9a87-24ea-4699-8c8c-e02fcfa8cd46",
    "CurrentCabin": "sample string 2",
    "CurrentCabinStatus": "sample string 3",
    "TargetCabins": "sample string 4",
    "TargetCabinStatus": "sample string 5"
  }
]

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"
}