POST Api/Service/Setting/AddCatchSettings

添加追位设置项

Request Information

URI Parameters

None.

Body Parameters

设置参数

Collection of SpeedPower.Utility.Models.Project.Orders.Service.Setting.AddCatchSettingModel
NameDescriptionTypeAdditional information
SiteSettingId

父级ID

string

Required

String length: inclusive between 0 and 128

Carrier

航空公司

string

Required

String length: inclusive between 0 and 2

DurationTime

总持续执行时间(分钟)

integer

None.

IntervalTime

执行间隔时间(秒)

integer

None.

TimeToTakeOff

距离起飞时间限制(小时)

integer

None.

EtermGroupId

黑屏组ID

string

Required

String length: inclusive between 0 and 128

BookingEtermGroupId

预订黑屏组ID(为空则默认使用查询组ID预订)

string

String length: inclusive between 0 and 128

PhoneNumber

电话号码

string

Required

String length: inclusive between 0 and 16

Request Formats

application/json, text/json

Sample:
[
  {
    "SiteSettingId": "sample string 1",
    "Carrier": "sample string 2",
    "DurationTime": 3,
    "IntervalTime": 4,
    "TimeToTakeOff": 5,
    "EtermGroupId": "sample string 6",
    "BookingEtermGroupId": "sample string 7",
    "PhoneNumber": "sample string 8"
  },
  {
    "SiteSettingId": "sample string 1",
    "Carrier": "sample string 2",
    "DurationTime": 3,
    "IntervalTime": 4,
    "TimeToTakeOff": 5,
    "EtermGroupId": "sample string 6",
    "BookingEtermGroupId": "sample string 7",
    "PhoneNumber": "sample string 8"
  }
]

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