POST Api/Service/Order/AddReduceWorker/{OrderId}
添加自动降舱任务
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
OrderId |
订单ID |
globally unique identifier |
Required |
Body Parameters
自定义配置项
SpeedPower.Project.Orders.Automatic.OTools.BaseReduceAddSettingModelName | Description | Type | Additional information |
---|---|---|---|
SetDurationTime |
总持续执行时间(分钟)(可为NULL) |
integer |
None. |
SetIntervalTime |
执行间隔时间(秒)(可为NULL) |
integer |
None. |
TargetCabins |
目标舱位列表(可为空列表) |
Collection of string |
None. |
TargetCabinStatus |
目标舱位适用状态列表(可为空列表) |
Collection of string |
None. |
Request Formats
application/json, text/json
Sample:
{ "SetDurationTime": 1, "SetIntervalTime": 1, "TargetCabins": [ "sample string 1", "sample string 2" ], "TargetCabinStatus": [ "sample string 1", "sample string 2" ] }
Response Information
Resource Description
添加自动降舱任务
SpeedPower.Utility.Models.Helper.ResultMessageName | Description | Type | Additional information |
---|---|---|---|
Succeed |
操作是否成功 |
boolean |
None. |
Message |
操作消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Succeed": true, "Message": "sample string 2" }