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": "e44d325f-73c2-40f7-b96f-bab074862691",
  "ReduceSettingId": "68f416b0-3b16-433a-92ad-91cb615331b8",
  "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"
}