POST Api/Service/Setting/AddReduRestrictSetting

添加降舱白/黑名单设置项

Request Information

URI Parameters

None.

Body Parameters

设置参数

Collection of SpeedPower.Utility.Models.Project.Orders.Service.Setting.AddReduRestrictSettingModel
NameDescriptionTypeAdditional information
ReduceSettingId

父级ID

globally unique identifier

None.

RestrictType

限制类型(白名单/黑名单)

SpeedPower.Utility.Models.Untility.Datas.Enums.ReduceRestrictType

None.

RouteTags

行程路由标识(PEKSHA,CSXSWJ,DALCTU)(使用机场码)

string

Required

String length: inclusive between 0 and 4000

Request Formats

application/json, text/json

Sample:
[
  {
    "ReduceSettingId": "985bf181-462d-429b-a25b-48c553878578",
    "RestrictType": 0,
    "RouteTags": "sample string 2"
  },
  {
    "ReduceSettingId": "985bf181-462d-429b-a25b-48c553878578",
    "RestrictType": 0,
    "RouteTags": "sample string 2"
  }
]

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