POST Api/Service/Setting/UpdateReduRestrictSetting

更新降舱白/黑名单设置项

Request Information

URI Parameters

None.

Body Parameters

设置参数

SpeedPower.Utility.Models.Project.Orders.Service.Setting.UpdateReduRestrictSettingModel
NameDescriptionTypeAdditional information
ID

设置ID

globally unique identifier

None.

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:
{
  "ID": "aa8b8fde-bb2a-4370-a662-27ed8f4d9d50",
  "ReduceSettingId": "d56220db-acc3-4e3f-ae45-2cfdf1b93b45",
  "RestrictType": 0,
  "RouteTags": "sample string 3"
}

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