GET Api/Service/Setting/GetReduceCabinsSettings/{SettingId}

基于配置ID获取降舱舱位设置项列表

Request Information

URI Parameters

NameDescriptionTypeAdditional information
SettingId

父级ID

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

基于配置ID获取降舱舱位设置项列表

Collection of SpeedPower.Utility.Models.Project.Orders.Service.Setting.GetReduceCabinsSettingModel
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

Response Formats

application/json, text/json

Sample:
[
  {
    "ID": "bd30e771-bc50-4416-9eb1-8432a88caee8",
    "ReduceSettingId": "1298d470-995c-45c9-9eb6-2bf5d837b39f",
    "CurrentCabin": "sample string 3",
    "CurrentCabinStatus": "sample string 4",
    "TargetCabins": "sample string 5",
    "TargetCabinStatus": "sample string 6"
  },
  {
    "ID": "bd30e771-bc50-4416-9eb1-8432a88caee8",
    "ReduceSettingId": "1298d470-995c-45c9-9eb6-2bf5d837b39f",
    "CurrentCabin": "sample string 3",
    "CurrentCabinStatus": "sample string 4",
    "TargetCabins": "sample string 5",
    "TargetCabinStatus": "sample string 6"
  }
]